Last active
June 9, 2016 09:22
-
-
Save lsjostro/628d699ddcdf4fa70de6d4696acc70d7 to your computer and use it in GitHub Desktop.
rkt in rkt issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ /usr/local/bin/rkt version | |
rkt Version: 1.7.0 | |
appc Version: 0.8.4 | |
Go Version: go1.6.1 | |
Go OS/Arch: linux/amd64 | |
Features: -TPM | |
# _Without_ bind mount of /var/lib/rkt | |
$ sudo /usr/local/bin/rkt run \ | |
--insecure-options=image \ | |
--interactive \ | |
--stage1-name=coreos.com/rkt/stage1-fly:1.7.0 \ | |
--volume=resolv,kind=host,source=/etc/resolv.conf \ | |
--mount volume=resolv,target=/etc/resolv.conf \ | |
--volume rktbin,kind=host,source=/usr/local/bin/ \ | |
--mount volume=rktbin,target=/usr/local/bin/ \ | |
docker://debian:jessie --exec=/bin/bash | |
image: using image from local store for image name coreos.com/rkt/stage1-fly:1.7.0 | |
image: using image from local store for url docker://debian:jessie | |
run: group "rkt" not found, will use default gid when rendering images | |
root@localhost:/# apt-get update 2>&1 > /dev/null && apt-get install -y curl iptables 2>&1 > /dev/null | |
debconf: delaying package configuration, since apt-utils is not installed | |
root@localhost:/# ls -l /proc/self/exe | |
lrwxrwxrwx 1 root root 0 Jun 9 08:58 /proc/self/exe -> /bin/ls | |
root@localhost:/# rkt run --insecure-options=image --interactive docker://debian:jessie --exec=/bin/bash | |
image: using image from file /usr/lib/rkt/stage1-images/stage1-coreos.aci | |
image: using image from file /usr/local/bin/stage1-coreos.aci | |
image: remote fetching from URL "docker://debian:jessie" | |
Downloading sha256:a3ed95caeb0 [=============================] 32 B / 32 B | |
Downloading sha256:51f5c6a04d8 [=============================] 51.4 MB / 51.4 MB | |
run: group "rkt" not found, will use default gid when rendering images | |
networking: loading networks from /etc/rkt/net.d | |
networking: loading network default with type ptp | |
stage1: warning: error setting journal ACLs, you'll need root to read the pod journal: group "rkt" not found | |
root@rkt-036539e8-83e0-4f36-a82c-f5a85d8e653c:/# ls -l /proc/self/exe | |
lrwxrwxrwx 1 root root 0 Jun 9 08:59 /proc/self/exe -> /var/lib/rkt/cas/tree/deps-sha512-d02944f5fd81b501ae4f4a37ae385cf461f447c287d7c76d905e457f5d0fa47a/rootfs/bin/ls | |
root@rkt-036539e8-83e0-4f36-a82c-f5a85d8e653c:/# | |
##################################### | |
# _With_ bind mount of /var/lib/rkt | |
$ sudo /usr/local/bin/rkt run \ | |
> --insecure-options=image \ | |
> --interactive \ | |
> --stage1-name=coreos.com/rkt/stage1-fly:1.7.0 \ | |
> --volume=resolv,kind=host,source=/etc/resolv.conf \ | |
> --mount volume=resolv,target=/etc/resolv.conf \ | |
> --volume rktlib,kind=host,source=/var/lib/rkt \ | |
> --mount volume=rktlib,target=/var/lib/rkt \ | |
> --volume rktbin,kind=host,source=/usr/local/bin/rkt \ | |
> --mount volume=rktbin,target=/usr/local/bin/rkt \ | |
> docker://debian:jessie --exec=/bin/bash | |
image: using image from local store for image name coreos.com/rkt/stage1-fly:1.7.0 | |
image: using image from local store for url docker://debian:jessie | |
run: group "rkt" not found, will use default gid when rendering images | |
root@localhost:/# apt-get update 2>&1 > /dev/null && apt-get install -y curl iptables 2>&1 > /dev/null | |
debconf: delaying package configuration, since apt-utils is not installed | |
root@localhost:/# ls -l /proc/self/exe | |
lrwxrwxrwx 1 root root 0 Jun 9 08:58 /proc/self/exe -> /bin/ls | |
root@localhost:/# rkt run --insecure-options=image --interactive docker://debian:jessie --exec=/bin/bash | |
image: using image from local store for image name coreos.com/rkt/stage1-coreos:1.7.0 | |
image: using image from local store for url docker://debian:jessie | |
run: group "rkt" not found, will use default gid when rendering images | |
networking: loading networks from /etc/rkt/net.d | |
networking: loading network default with type ptp | |
stage1: warning: error setting journal ACLs, you'll need root to read the pod journal: group "rkt" not found | |
root@rkt-fd541a95-b43b-40f4-b9b1-1b39bc9b3c7d:/# ls -l /proc/self/exe | |
lrwxrwxrwx 1 root root 0 Jun 9 09:03 /proc/self/exe -> /bin/ls | |
root@rkt-fd541a95-b43b-40f4-b9b1-1b39bc9b3c7d:/# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment