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 @
0e88b87c
...
@@ -29,14 +29,14 @@ This should take some time.
...
@@ -29,14 +29,14 @@ This should take some time.
### 5. Run Docker container
### 5. Run Docker container
```
```
docker run -d -p 80:3000 annotamele
docker run
--name=annotamele_server
-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
name,
port on host machine
(
80 is default for http requests
)
. AnnotameLE is set to expose 3000 port.
AnnotameLE is now running.
AnnotameLE is now running.
### 6. Managing
### 6. Managing
check container
name
with
```docker ps -a```
. Use following commands to stop/start container:
check container
status
with
```docker ps -a```
. Use following commands to stop/start container:
```
```
docker stop <name>
docker stop <name>
docker start <name>
docker start <name>
...
...
...
...