$ docker-machine create one -d virtualbox
docker-machine ssh one
edit /var/lib/boot2docker/profile
(sotto debian /etc/default/docker
)
EXTRA_ARGS='
--registry-mirror=https://192.168.2.174:5000
--insecure-registry=192.168.2.174:5000
'
exit;
docker-machine restart one;
docker-machine ssh one
docker pull alpine
https://tmate.io/t/ro-qxlYiO1WrcUkKxNXbZdSucZlH
ssh [email protected]
Images used in the workshop:
docker pull alpine
docker pull redis:alpine
docker pull nginx
docker pull avthart/consul-template
docker pull gliderlabs/registrator
docker pull progrium/consul
docker pull mongo
exercise:
docker pull atbaker/nginx-example
docker pull alpine
docker pull golang:1.5-alpine
Eccolo :)
docker run -p 8086:1500 -d alpine /bin/sh -c "while true; do echo -e 'HTTP/1.1 200\n\n$(date)\n' | nc -v -l -p 1500; sleep 1; done"