Pure alpine linux docker. Docker inside docker.
Starts a shell ready to docker
docker run -ti --privileged danielguerra/alpine-docker /bin/sh
docker run --name alpine-docker -p 2375:2375 --privileged -d danielguerra/alpine-docker
To start a shell in your new container.
docker exec -ti alpine-docker /bin/sh
Now you can start containers inside your alpine-docker container.
docker run -d elasticsearch
docker images
docker ps -a
docker volume ls
If you need docker-compose inside your alpine-docker container.
setup-compose
docker-compose up
Set your client system variables and go
export DOCKER_API_VERSION=1.23
export DOCKER_HOST='tcp://127.0.0.1:2375'
docker ps
docker-compose up