Skip to content

Commit

Permalink
修复导入时命名格式错误的问题.
Browse files Browse the repository at this point in the history
  • Loading branch information
汪志鹏 committed Jul 8, 2015
1 parent d1bc4c7 commit 2615aba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Docker/镜像制作/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM 192.168.11.247:5000/CentOS-6.6/Base
MAINTAINER 夕阳 <[email protected]>
FROM centos-6.6/base
MAINTAINER 汪志鹏 <[email protected]>

RUN ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key
RUN ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key
Expand Down
2 changes: 1 addition & 1 deletion Docker/镜像制作/镜像制作
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

导入
cd CentOS-6.6_Base
tar -c .|docker import - "CentOS-6.6/Base"
tar -c .|docker import - "centos-6.6/base"

创建一个带ssh的images
docker build -t "CentOS-6.6/sshd" .
Expand Down

0 comments on commit 2615aba

Please sign in to comment.