Mercurial > hg > Applications > docker-wrapper
changeset 29:991e5e7fc82a default tip
fix documents
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 14 Dec 2017 22:18:37 +0900 |
parents | 3db5360e6e35 |
children | |
files | README.md |
diffstat | 1 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/README.md Tue Dec 12 16:45:22 2017 +0900 +++ b/README.md Thu Dec 14 22:18:37 2017 +0900 @@ -18,3 +18,25 @@ run docker image ie-docker run -it --name [user name]_[process name] fedora:latest /bin/bash + +### default image + +in ie-docker.h, default images is defined like this. + + #define base_image_name "java-centos" + +to (re)build image using following commands. + + mkdir java-centors + vi Dockerfiles + docker build -t java-centos . + +to test use + + docker run java-centos + docker ps -a + dockder -it **container-name** + +to remove image use + + docker rmi **image-name**