container docker
https://hub.docker.com/r/ingensi/play-framework/
cent os 7
may not support 2.4 play
docker run -d \
-v /path/to/your/play/app:/app:rw \
-p 80:9000 \
ingensi/play-framework
---
https://www.docker.com/
install docker on mac
http://docs.docker.com/mac/started/
for linux users;
http://docs.docker.com/linux/started
docker-machine for creating docker vm in mac
docker toolbox
https://www.docker.com/toolbox
----
docker quickstart terminal
docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com
---
https://docs.docker.com/userguide/
docker ps - Lists containers.
docker logs - Shows us the standard output of a container.
docker stop - Stops running containers.
docker run -d -P
https://hub.docker.com/r/ingensi/play-framework/
cent os 7
may not support 2.4 play
docker run -d \
-v /path/to/your/play/app:/app:rw \
-p 80:9000 \
ingensi/play-framework
---
https://www.docker.com/
install docker on mac
http://docs.docker.com/mac/started/
for linux users;
http://docs.docker.com/linux/started
docker-machine for creating docker vm in mac
docker toolbox
https://www.docker.com/toolbox
----
docker quickstart terminal
docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com
---
https://docs.docker.com/userguide/
docker ps - Lists containers.
docker logs - Shows us the standard output of a container.
docker stop - Stops running containers.
docker run -d -P
Let’s start with a
docker run
command.$ docker run -d -P training/webapp python app.py
-----
Let’s review what our command did. We’ve specified two flags:
-d
and -P
running container using the
docker ps
command.$ docker ps -l
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bc533791f3f5 training/webapp:latest python app.py 5 seconds ago Up
No comments:
Post a Comment