deploy a new container

lxc launch ubuntu-daily:16.04 docker -c security.nesting=true
lxc config set docker security.privileged true

inside a new container:

snap install docker

it you use ZFS swap to AUFS:

vim /var/snap/docker/423/config/daemon.json

installed images:

docker images

running containers:

docker ps

install an image:

docker pull nicolasdorier/nbxplorer:2.1.2-amd64

exec shell in container

docker exec -it <container> /bin/bash

attach to container to see what is going on:

docker attach --sig-proxy=false <container>
  • faq/docker.txt
  • Last modified: 2 months ago
  • by Dr Serge Victor