A apache container that returns the hostname of the container
534
A apache container that returns the hostname of the container.
Check the tags, there are 2 versions if you want an example of versioning and docker swarm.
Example:
You need a docker 1.12 swarm in place.
docker node ls
docker network create -d overlay mynetwork
docker service create --name web --network mynetwork --replicas 3 -p 5001:80 titogarrido/s390x-apache-hostname:1
docker service ps web
docker service update web --update-delay 30s --update-parallelism 1
docker service update --image titogarrido/s390x-apache-hostname:2 web && watch docker service ps web
Content type
Image
Digest
Size
83.7 MB
Last updated
almost 10 years ago
docker pull titogarrido/s390x-apache-hostname