[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [atomic-devel] Status of containerizing docker and https://github.com/projectatomic/atomic-system-containers
- From: Jerry Zhang <jerzhang redhat com>
- To: atomic-devel projectatomic io
- Subject: Re: [atomic-devel] Status of containerizing docker and https://github.com/projectatomic/atomic-system-containers
- Date: Wed, 15 Mar 2017 12:53:40 -0400 (EDT)
Hi Colin,
> Hey,
>
> Does anyone know what the status of
> https://github.com/projectatomic/atomic-system-containers
> is in general, and in particular I'm interested in the
> "containerized docker" approach.
>
Most of the containers that are in the repo are operational
but not fully ready for production, minus etcd and flannel
which are more stable and tested compared to the other ones.
> Can someone who knows a bit more about this add
> e.g. a `README.md` with getting started instructions?
>
> I did find https://hub.docker.com/r/gscrivano/docker-fedora/
> which has some info, but it appears generic and not specific
> to this container. The tradeoffs/implementation details
> of containerizing Docker in particular seem worth having
> a specific doc.
>
Giuseppe's repo is not technically the offical repo, although
you are right in that we need better docs. Once the issues
are more flattened out I'd imagine Giuseppe would add the
docs for docker.
> (Also, that image is auto-built from github:giuseppe/atomic-oci-containers
> which is different from the projectatomic one?)
>
No that is the same repo. The repo in projectatomic was moved over
from giuseppe's. If you click the link it will direct you to the
projectatomic repo.
> I just tried this:
>
> ```
> # atomic host status
> State: idle
> Deployments:
> ● fedora-atomic:fedora-atomic/25/x86_64/docker-host
> Version: 25.80 (2017-03-13 23:35:50)
> Commit:
> 24d4499420ffb2cc49681020bbe5aa6780d780d2b811eab1f5ffea6446b5a4c5
> OSName: fedora-atomic
> # atomic install --system gscrivano/docker-fedora
> # systemctl start docker-fedora
> ...
> Mar 15 16:02:02 localhost.localdomain runc[4867]: container_linux.go:247:
> starting container process caused "process_linux.go:359: container init
> caused \"rootfs_linux.go:89: jailing process inside rootfs caused
> \\\"pivot_root invalid argument\\\"\""
> ```
>
>
>
Try instead: https://github.com/projectatomic/atomic-system-containers/pull/38
I build that locally and docker runs fine from a system container (running
on f25 cloud):
# atomic containers list
CONTAINER ID IMAGE COMMAND CREATED STATE BACKEND RUNTIME
flannel gscrivano/flannel /usr/bin/flanneld-ru 2017-03-15 16:37 running ostree runc
docker local/docker /usr/bin/init.sh 2017-03-15 16:37 running ostree runc
etcd local/etcd /usr/bin/etcd-env.sh 2017-03-15 16:37 running ostree runc
# systemctl status docker
● docker.service - Docker service
Loaded: loaded (/etc/systemd/system/docker.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/docker.service.d
└─flannel.conf
Active: active (running) since Wed 2017-03-15 16:37:58 UTC; 7min ago
For testing convenience I've build that branch to https://hub.docker.com/r/jerzhang/docker/,
so you can pull with `atomic pull --storage ostree jerzhang/docker`
Please let me know if that works for you.
Regards,
Yu Qi Zhang
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]