Skip to content

Commit

Permalink
update docker
Browse files Browse the repository at this point in the history
  • Loading branch information
xianhu committed Oct 28, 2019
1 parent c2a0301 commit 7ab2e9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Docker/Dockerfile
@@ -1,11 +1,11 @@
# Dockerfile by xianhu: build a docker image
# centos6:
# docker build -t user/centos:v6.10.2 .
# docker run -it --name test [-p -v] user/centos
# docker run -it --name test [-p -v] user/centos:v6.10.2
# docker attach test
# centos7:
# docker build -t user/centos:v7.0.1 .
# docker run -dt --privileged --name test [-p -v] user/centos
# docker run -dt --privileged --name test [-p -v] user/centos:v7.0.1
# docker exec -it test /bin/bash

# FROM centos:7
Expand Down

0 comments on commit 7ab2e9a

Please sign in to comment.