Public Repository

Last pushed: a year ago
Short Description
A apache container that returns the hostname of the container
Full Description

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

Docker Pull Command
Owner
titogarrido

Comments (0)