35
loading...
This website collects cookies to deliver better user experience
sudo docker run docker/whalesay cowsay Hello-World!
docker build [OPTIONS] PATH | URL | -
to create our image.touch Dockerfile
and can be edited using your favorite text editor. Notice that this file is created without an extension, this is intentional.FROM scratch
.docker build -t helloworld:latest .
docker run helloworld:latest
and docker run 4d6c8eea04c9
docker login
docker logout
docker tag <image> helloworld:latest <DOCKER_HUB_USERNAME>/dockerhub:myfirstimagepush