Learning samples for docker usage.
-
Install docker.
-
Get the host IP with
docker-machine ip default
.Used to be
192.168.99.100
but can change.
- Go to
cd hello-world
. - Review the files.
- Build with
./build.sh
. - Run with
./up.sh
. - Destroy with
./down.sh
.
- Dockerui
- Consul
- Registrator
- Jenkins
- Teammcity
- Mongodb
- Prometheus
Use the scripts up.sh
and down.sh
to start/stop them.
- Docker file sample
- Docker-compose sample