mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update Ubuntu image tag to 14.04
`apt-get update` for non-supported 12.10 doesn't work. Building failed with ``` INFO[0011] The command [/bin/sh -c apt-get update && apt-get install -y redis-server] returned a non-zero code: 100 ``` Signed-off-by: Evgeny Vereshchagin <evvers@ya.ru>
This commit is contained in:
parent
f65b781d21
commit
736558b6ae
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ using a link.
|
||||||
Firstly, we create a `Dockerfile` for our new Redis
|
Firstly, we create a `Dockerfile` for our new Redis
|
||||||
image.
|
image.
|
||||||
|
|
||||||
FROM ubuntu:12.10
|
FROM ubuntu:14.04
|
||||||
RUN apt-get update && apt-get install -y redis-server
|
RUN apt-get update && apt-get install -y redis-server
|
||||||
EXPOSE 6379
|
EXPOSE 6379
|
||||||
ENTRYPOINT ["/usr/bin/redis-server"]
|
ENTRYPOINT ["/usr/bin/redis-server"]
|
||||||
|
@ -43,7 +43,7 @@ created with an alias of `db`. This will create a secure tunnel to the
|
||||||
`redis` container and expose the Redis instance running inside that
|
`redis` container and expose the Redis instance running inside that
|
||||||
container to only this container.
|
container to only this container.
|
||||||
|
|
||||||
$ sudo docker run --link redis:db -i -t ubuntu:12.10 /bin/bash
|
$ sudo docker run --link redis:db -i -t ubuntu:14.04 /bin/bash
|
||||||
|
|
||||||
Once inside our freshly created container we need to install Redis to
|
Once inside our freshly created container we need to install Redis to
|
||||||
get the `redis-cli` binary to test our connection.
|
get the `redis-cli` binary to test our connection.
|
||||||
|
|
Loading…
Reference in a new issue