Sha256: 9455d4ad9f1f5a6204a203516a11dad2b365491582ce3221b28cf072905bb681
Contents?: true
Size: 1.19 KB
Versions: 2
Compression:
Stored size: 1.19 KB
Contents
# installation docker_installation_binary 'default' do action :create end # service named 'default' docker_service_manager_systemd 'default' do graph '/var/lib/docker' action :start end docker_image 'busybox' do host 'unix:///var/run/docker.sock' end docker_container 'service default echo server' do container_name 'an_echo_server' repo 'busybox' command 'nc -ll -p 7 -e /bin/cat' port '7' action :run end # service A docker_service_manager_systemd 'one' do graph '/var/lib/docker-one' host 'unix:///var/run/docker-one.sock' action :start end docker_image 'hello-world' do host 'unix:///var/run/docker-one.sock' tag 'latest' end docker_container 'hello-world' do host 'unix:///var/run/docker-one.sock' command '/hello' action :create end # service B docker_service_manager_systemd 'two' do graph '/var/lib/docker-two' host 'unix:///var/run/docker-two.sock' action :start end docker_image 'alpine' do host 'unix:///var/run/docker-two.sock' tag '3.1' end docker_container 'service two echo_server' do container_name 'an_echo_server' repo 'alpine' tag '3.1' command 'nc -ll -p 7 -e /bin/cat' port '7' host 'unix:///var/run/docker-two.sock' action :run end
Version data entries
2 entries across 2 versions & 1 rubygems