Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 670 Bytes

OVH-README.md

File metadata and controls

36 lines (28 loc) · 670 Bytes

COMMAND

How to push docker image to registry hosted on OVH?

Build (on dev machine)

# 1
docker login ?????.container-registry.ovh.net
# login: ???
# pass: ?????
# (provide login, provie pass)

# 2
git clone https://github.com/sosnus/azure-and-docker.git

# 3
cd azure-and-docker/app/

# 4
docker build --tag ?????.container-registry.ovh.net/wt-project/yourname .

# 5
docker push ?????.container-registry.ovh.net/wt-project/yourname

Run (on target machine)

# 1
docker login ?????.container-registry.ovh.net
# login: ???
# pass: ?????
# (provide login, provie pass)

# 2
docker pull ?????.container-registry.ovh.net/wt-project/yourname