Changes
Page history
alexlag created page: docker
authored
Apr 03, 2015
by
Aleksey Laguta
Show whitespace changes
Inline
Side-by-side
docker.markdown
View page @
f99873c8
...
@@ -32,3 +32,14 @@ This should take some time.
...
@@ -32,3 +32,14 @@ This should take some time.
docker run -d -p 80:3000 annotamele
docker run -d -p 80:3000 annotamele
```
```
you can pick desired port on host machine, 80 is default for http requests. AnnotameLE is set to expose 3000 port.
you can pick desired port on host machine, 80 is default for http requests. AnnotameLE is set to expose 3000 port.
AnnotameLE is now running.
### 6. Managing
check container name with
```docker ps -a```
. Use following commands to stop/start container:
```
docker stop <name>
docker start <name>
```
You can also set container to start with host system, check
[
this guide
](
https://docs.docker.com/articles/host_integration/
)
\ No newline at end of file