#4019·rkt

Can't specify tags in urls on official docker images

Author: caldwellCreated Dec 9, 2019Updated Dec 11, 2019

Environment

rkt Version: 1.30.0
appc Version: 0.8.11
Go Version: go1.13.1
Go OS/Arch: linux/amd64
Features: -TPM +SDJOURNAL
--
Linux 5.2.0-2-amd64 x86_64
--
PRETTY_NAME="Debian GNU/Linux bullseye/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
--
systemd 244 (244-3)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid

What did you do?

sudo rkt fetch --insecure-options=image docker://busybox:1.31.1

What did you expect to see?

A successful download.

What did you see instead?

$ sudo rkt fetch --insecure-options=image docker://busybox:1.31.1
fetch: parse docker://busybox:1.31.1: invalid port ":1.31.1" after host

From looking at the output of rkt image list I found a work-around:

$ sudo rkt fetch --insecure-options=image docker://library/busybox:1.31.1

But I think the simple no-slash version of the url (docker://busybox:1.31.1) should work based on the documentation (and I don't see library/ documented anywhere).