Last active
June 12, 2022 11:31
-
-
Save hakaneroztekin/48e4a15d0dd1f2848dea36c255c2efe9 to your computer and use it in GitHub Desktop.
docker build [docker in a nutshell]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker build -t my-awesome-app . | |
[+] Building 0.2s (8/8) FINISHED | |
=> [internal] load build definition from Dockerfile | |
=> => transferring dockerfile: 37B | |
=> [internal] load .dockerignore | |
=> => transferring context: 2B | |
=> [internal] load metadata for docker.io/library/ubuntu:latest | |
=> [internal] load build context | |
=> => transferring context: 69B | |
=> [1/3] FROM docker.io/library/ubuntu | |
=> [2/3] COPY /src /my-app | |
=> [3/3] WORKDIR /my-app | |
=> exporting to image | |
=> => exporting layers | |
=> => writing image sha256:0bca1ba2ac5b5574c9bba301e02ee94337806aef21b763253c101f40e1d0ec5f | |
=> => naming to docker.io/library/my-awesome-app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment