collection of ansible roles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: restart registry
|
|
command: docker stop registry
|
|
notify: restart registry (start)
|
|
- name: restart registry (start)
|
|
command: docker run -d -p 5000:5000 --restart=always --name registry \
|
|
-v /etc/docker/registry/config.yml:/etc/docker/registry/config.yml \
|
|
registry:2
|
|
|