Actions
Bug #19840
closedGets confused by port numbers in docker image name
Start date:
12/08/2022
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
Story points:
0.5
Release:
Release relationship:
Auto
Description
Customer is using a docker reference that looks like this:
docker.cloud.example.com:443/rrtest:samtools_jp_v1.6.1
arv-keepdocker
splits on the first instance of ':' so the port number is messing it up -- it thinks "docker.cloud.example.com" is the name and "443/rrtest" is the tag (and the last part gets thrown away).
This case needs to be handled properly.
Updated by Peter Amstutz about 2 years ago
- Subject changed from Gets confused by port numbers in docker id to Gets confused by port numbers in docker image name
- Description updated (diff)
- Category set to Docker
Updated by Tom Clegg about 2 years ago
- Related to Feature #8333: [SDKs] `arv keep docker` supports `repo:tag` image name scheme added
Updated by Tom Clegg about 2 years ago
This bug was mostly fixed in #8333, but
- when listing/searching images already stored in Keep,
host:port/repo:tag
was still being split as("host", "port/repo:tag")
, so the list output was wrong and upload would always re-upload even if the same image had already been uploaded. - when the explicit port happens to be
443
, docker strips it off because it's redundant in an https url -- so afterdocker pull h:443/r:t
succeeds,docker inspect h/r:t
succeeds butdocker inspect h:443/r:t
fails. Sincearv-keepdocker
was doing the latter, it would always fail to save the image after pulling.
Fixed both issues and added tests.
19840-docker-port-number @ ed948e5ff97e22594d54845097dbea77048aa2fc -- developer-run-tests: #3409
Updated by Tom Clegg about 2 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset arvados|a46c78bdc3c2136236e6fff2e17b32d3c78ca772.
Actions