Skip to content

kwuite/alpine-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker

About

Pure alpine linux docker. Docker inside docker.

wikipedia.org/wiki/Docker

Usage

Commandline

Starts a shell ready to docker

docker run -ti --privileged danielguerra/alpine-docker /bin/sh

Daemon

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

Inside the container shell

Now you can start containers inside your alpine-docker container.

docker run -d elasticsearch
docker images
docker ps -a
docker volume ls

Docker-compose

If you need docker-compose inside your alpine-docker container.

setup-compose
docker-compose up

Remote docker

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

About

docker on pure alpine linux. docker in docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%