File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
# docker-getting-started
2
2
This repo was started while going through Docker's "Getting started" and commits follow tutorial step by step.
3
- This readme will function as a notebook where I can collect useful information in the future when I learn more about Docker.
3
+ This readme will function as a notebook where I can collect useful information also in the future when I learn more about Docker.
4
4
## build image from Dockerfile
5
5
``` docker build -t <imagename> . ```
6
6
t = tags the image
7
7
. = docker should look for Dockerfile in this folder.
8
8
9
9
## run the image in container
10
10
``` docker run -d -p 3000:3000 <imagename> ```
11
- -d = detached mode, runs in backround
11
+ -d = detached mode, runs in background
12
12
-p = hostport: containerport
13
13
14
14
## Commands
You can’t perform that action at this time.
0 commit comments