Quote from
jim.coyne on February 23, 2019, 7:17 am
If you don't want to run a Docker container directly on the Antsle, you can run the container inside an LXC.
- Create an Ubuntu16.04-LXC
- add a bridged interface
- apt-get install apt-transport-https ca-certificates curl software-properties-common nano
- (Install some needed tools)
- nano /etc/network/interfaces
- (configure static IP on the bridged interface, 10.0.0.11 in this example)
- address 10.0.0.11
- netmask 255.255.255.0
- default 10.0.0.1
- dns-nameservers 8.8.8.8 8.8.4.4
- nano /etc/hosts
- reboot now
- (make sure bridged interface is up)
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- (this fails if curl in not installed or the etc/hosts is not updated)
- add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
- (this fails if software-properties-common and apt-transport-https are not installed)
- apt-get update
- apt install docker-ce=17.09.1~ce-0~ubuntu
- (NOTE: this is calling docker-ce 17.09.1, 18.x may cause an issue; see below)
docker run -d --name=netdata \
-p 19999:19999 \
-v /proc:/host/proc:ro \
-v /sys:/host/sys:ro \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
--cap-add SYS_PTRACE \
--security-opt apparmor=unconfined \
netdata/netdata
- Open the container application
When running Docker 18.09.2 (apt-get install docker-ce) I run into this issue:
docker run hello-world
docker: Error response from daemon: cgroups: cannot find cgroup mount destination: unknown.
If I downgrade to Docker 17.09.1 apt install docker-ce=17.09.1~ce-0~ubuntu), everything runs fine:
Setting up docker-ce (17.09.1~ce-0~ubuntu) ...
root@antlet11:~# docker run hello-world
Hello from Docker!
This message shows that your installation appears to be working correctly.
If you don't want to run a Docker container directly on the Antsle, you can run the container inside an LXC.
- Create an Ubuntu16.04-LXC
- add a bridged interface
- apt-get install apt-transport-https ca-certificates curl software-properties-common nano
- (Install some needed tools)
- nano /etc/network/interfaces
- (configure static IP on the bridged interface, 10.0.0.11 in this example)
- address 10.0.0.11
- netmask 255.255.255.0
- default 10.0.0.1
- dns-nameservers 8.8.8.8 8.8.4.4
- nano /etc/hosts
- reboot now
- (make sure bridged interface is up)
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- (this fails if curl in not installed or the etc/hosts is not updated)
- add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
- (this fails if software-properties-common and apt-transport-https are not installed)
- apt-get update
- apt install docker-ce=17.09.1~ce-0~ubuntu
- (NOTE: this is calling docker-ce 17.09.1, 18.x may cause an issue; see below)
docker run -d --name=netdata \
-p 19999:19999 \
-v /proc:/host/proc:ro \
-v /sys:/host/sys:ro \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
--cap-add SYS_PTRACE \
--security-opt apparmor=unconfined \
netdata/netdata
- Open the container application
When running Docker 18.09.2 (apt-get install docker-ce) I run into this issue:
docker run hello-world
docker: Error response from daemon: cgroups: cannot find cgroup mount destination: unknown.
If I downgrade to Docker 17.09.1 apt install docker-ce=17.09.1~ce-0~ubuntu), everything runs fine:
Setting up docker-ce (17.09.1~ce-0~ubuntu) ...
root@antlet11:~# docker run hello-world
Hello from Docker!
This message shows that your installation appears to be working correctly.
will and VirtuallyCreative have reacted to this post.