Docker foo

BUILD YOUR OWN IMAGE:

docker pull ubuntu
docker run --name brad-fun-test -it ubuntu:latest bash

(Inside the instance install some stuff like curl and netcat:
apt-get update
apt-get install netcat
apt-get install curl
exit
)
docker ps -a
docker commit 2efdac31b04a brad-fun-test-2019-06-23-v1


PUBLISH IT:

$ docker commit -m "Testing 123" -a "Totes" 2efdac31b04a bradtesting/testrepo:brad-fun-test-2019-06-23-v1

 $ docker push bradtesting/testrepo:brad-fun-test-2019-06-23-v1

And in the future:
$ docker  push bradtesting/testrepo:tagname

Error

Anonymous comments are disabled in this journal

default userpic

Your reply will be screened