Changed proposed naming scheme for the docker image name
This commit is contained in:
parent
3c5927a6be
commit
da53c9d25f
@ -20,9 +20,9 @@ Other useful commands:
|
|||||||
### Build the Container yourself (and run it)
|
### Build the Container yourself (and run it)
|
||||||
1. Clone the git repo
|
1. Clone the git repo
|
||||||
2. Open the cloned repo's folder in a shell of your choice (as long as it supports Docker)
|
2. Open the cloned repo's folder in a shell of your choice (as long as it supports Docker)
|
||||||
3. Tell Docker to build the app under the name "taskboard" with `docker build -t taskboard .`
|
3. Tell Docker to build the app under the name "taskboard" with `docker build -t taskboard_backend .`
|
||||||
4. Tell Docker to run the app on port 8080 with `docker run -p 8080:80 taskboard`
|
4. Tell Docker to run the app on port 8080 with `docker run -p 8080:80 taskboard_backend`
|
||||||
|
|
||||||
Other useful commands:
|
Other useful commands:
|
||||||
* Run detached: `docker run -d -p 8080:80 taskboard`
|
* Run detached: `docker run -d -p 8080:80 taskboard_backend`
|
||||||
* Run under specified name: `docker run -p 8080:80 --name myapp taskboard`
|
* Run under specified name: `docker run -p 8080:80 --name backend taskboard_backend`
|
Loading…
x
Reference in New Issue
Block a user