Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Docker Image Build Guidelines

Questions

What is the difference between the 10001 and 10003 port versions for nexus3?

...

root@obriensystemskub0:~/oom/kubernetes/dcae/pgaas# export DOCKER_ID_USER="obrienlabs"
root@obriensystemskub0:~/oom/kubernetes/dcae/pgaas# docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: obrienlabs
Password:
Login Succeeded
root@obriensystemskub0:~/oom/kubernetes/dcae/pgaas# docker build -t obrienlabs/pgaas -f Dockerfile .
Sending build context to Docker daemon 23.55 kB
Step 1 : FROM ubuntu:16.04
 ---> d355ed3537e9
....
Successfully built 257430a38254
root@obriensystemskub0:~/oom/kubernetes/dcae/pgaas# docker tag obrienlabs/pgaas obrienlabs/pgaas:1
root@obriensystemskub0:~/oom/kubernetes/dcae/pgaas# docker push  obrienlabs/pgaas:1
The push refers to a repository [docker.io/obrienlabs/pgaas]
ee716c896001: Pushed
....5a4c2c9a24fc: Pushed
cb11ba605400: Pushed
1: digest: sha256:fb09855b323fe83aaa161725910cd2f6d7ff6306035e6f5f2df40b99149e8fed size: 6157

pull on separate machine
obrienbiometrics:oom michaelobrien$ docker pull obrienlabs/pgaas:1
1: Pulling from obrienlabs/pgaas
23a6960fe4a9: Extracting [===>                                               ]  3.441MB/45.89MB
e9e104b0e69d: Download complete
cd33d2ea7970: Download complete
534ff7b7d120: Download complete

Docker cleanup

Stop all containers

docker stop  $(docker ps -a -q)

Remove all containers

docker rm $(docker ps -a -f status=exited -q)

Remove all images

docker rmi $(docker images -a -q)

Remove all volumes

docker volume rm $(docker volume ls)


ONAP nexus3

We cannot push directly to nexus3 - we need to do a staged release - 

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyCIMAN-22

...