root@dev-ops:
/var/4
Uploading context 2.048 kB
Uploading context
2014
/08/16
09:50:59 Error:
open
/tmp/docker-build829651796/Dockerfile
: not a directory
root@dev-ops:
/var/4
Uploading context 2.56 kB
Uploading context
Step 0 : FROM ubuntu
---> c4ff7513909d
Step 1 : MAINTAINER Victor Coisne victor.coisne@dotcloud.com
---> Using cache
---> bbe0c91632f1
Step 2 : RUN apt-get update
---> Running
in
b10a1a60dcb3
Ign http:
//archive
.ubuntu.com trusty InRelease
Ign http:
//archive
.ubuntu.com trusty-updates InRelease
Ign http:
//archive
.ubuntu.com trusty-security InRelease
Get:1 http:
//archive
.ubuntu.com trusty Release.gpg [933 B]
Get:2 http:
//archive
.ubuntu.com trusty-updates Release.gpg [933 B]
Get:3 http:
//archive
.ubuntu.com trusty-security Release.gpg [933 B]
Get:4 http:
//archive
.ubuntu.com trusty Release [58.5 kB]
Get:5 http:
//archive
.ubuntu.com trusty-updates Release [59.7 kB]
Get:6 http:
//archive
.ubuntu.com trusty-security Release [59.7 kB]
Get:7 http:
//archive
.ubuntu.com trusty
/main
Sources [1335 kB]
Get:8 http:
//archive
.ubuntu.com trusty
/restricted
Sources [5335 B]
Get:9 http:
//archive
.ubuntu.com trusty
/universe
Sources [7926 kB]
Get:10 http:
//archive
.ubuntu.com trusty
/main
amd64 Packages [1743 kB]
Get:11 http:
//archive
.ubuntu.com trusty
/restricted
amd64 Packages [16.0 kB]
Get:12 http:
//archive
.ubuntu.com trusty
/universe
amd64 Packages [7589 kB]
Get:13 http:
//archive
.ubuntu.com trusty-updates
/main
Sources [138 kB]
Get:14 http:
//archive
.ubuntu.com trusty-updates
/restricted
Sources [1250 B]
Get:15 http:
//archive
.ubuntu.com trusty-updates
/universe
Sources [91.7 kB]
Get:16 http:
//archive
.ubuntu.com trusty-updates
/main
amd64 Packages [375 kB]
Get:17 http:
//archive
.ubuntu.com trusty-updates
/restricted
amd64 Packages [6341 B]
Get:18 http:
//archive
.ubuntu.com trusty-updates
/universe
amd64 Packages [235 kB]
Get:19 http:
//archive
.ubuntu.com trusty-security
/main
Sources [47.4 kB]
Get:20 http:
//archive
.ubuntu.com trusty-security
/restricted
Sources [40 B]
Get:21 http:
//archive
.ubuntu.com trusty-security
/universe
Sources [11.9 kB]
Get:22 http:
//archive
.ubuntu.com trusty-security
/main
amd64 Packages [167 kB]
Get:23 http:
//archive
.ubuntu.com trusty-security
/restricted
amd64 Packages [40 B]
Get:24 http:
//archive
.ubuntu.com trusty-security
/universe
amd64 Packages [57.0 kB]
Fetched 19.9 MB
in
11min 48s (28.1 kB
/s
)
Reading package lists...
---> 9ce87ae24eeb
Step 3 : RUN apt-get
install
-y redis-server
---> Running
in
b28a88665c3f
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libjemalloc1 redis-tools
The following NEW packages will be installed:
libjemalloc1 redis-server redis-tools
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 410 kB of archives.
After this operation, 1272 kB of additional disk space will be used.
Get:1 http:
//archive
.ubuntu.com
/ubuntu/
trusty
/universe
libjemalloc1 amd64 3.5.1-2 [76.8 kB]
Get:2 http:
//archive
.ubuntu.com
/ubuntu/
trusty
/universe
redis-tools amd64 2:2.8.4-2 [65.7 kB]
Get:3 http:
//archive
.ubuntu.com
/ubuntu/
trusty
/universe
redis-server amd64 2:2.8.4-2 [267 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not
set
, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling
tty
.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-
open
stdin:
Fetched 410 kB
in
4s (91.4 kB
/s
)
Selecting previously unselected package libjemalloc1.
(Reading database ... 11518 files and directories currently installed.)
Preparing to unpack ...
/libjemalloc1_3
.5.1-2_amd64.deb ...
Unpacking libjemalloc1 (3.5.1-2) ...
Selecting previously unselected package redis-tools.
Preparing to unpack ...
/redis-tools_2
%3a2.8.4-2_amd64.deb ...
Unpacking redis-tools (2:2.8.4-2) ...
Selecting previously unselected package redis-server.
Preparing to unpack ...
/redis-server_2
%3a2.8.4-2_amd64.deb ...
Unpacking redis-server (2:2.8.4-2) ...
Processing triggers
for
ureadahead (0.100.0-16) ...
Setting up libjemalloc1 (3.5.1-2) ...
Setting up redis-tools (2:2.8.4-2) ...
Setting up redis-server (2:2.8.4-2) ...
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers
for
libc-bin (2.19-0ubuntu6.1) ...
Processing triggers
for
ureadahead (0.100.0-16) ...
---> d37fb2bbe0b5
Step 4 : ENTRYPOINT redis-server
/etc/redis/redis
.conf &&
/usr/sbin/sshd
-D
---> Running
in
f6c027ac643d
---> ec7fe19bdfed
Step 5 : USER daemon
---> Running
in
0e3b10d07a16
---> d16398d08a4a
Step 6 : EXPOSE 6379
---> Running
in
c8ca52dde189
---> e0a9bcb25972
Step 7 : EXPOSE 22
---> Running
in
22845a6abd90
---> 54bb130c7a44
Successfully built 54bb130c7a44
Removing intermediate container b10a1a60dcb3
Removing intermediate container b28a88665c3f
Removing intermediate container f6c027ac643d
Removing intermediate container 0e3b10d07a16
Removing intermediate container c8ca52dde189
Removing intermediate container 22845a6abd90
root@dev-ops:
/var/4
原文: http:
//rfyiamcool
.blog.51cto.com
/1030776/1541081