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> Upstream-commit: 736558b6ae15afb3f5f0d7ba7801fa44bec9f285 Component: engine
This commit is contained in:
@ -12,7 +12,7 @@ using a link.
|
||||
Firstly, we create a `Dockerfile` for our new Redis
|
||||
image.
|
||||
|
||||
FROM ubuntu:12.10
|
||||
FROM ubuntu:14.04
|
||||
RUN apt-get update && apt-get install -y redis-server
|
||||
EXPOSE 6379
|
||||
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
|
||||
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
|
||||
get the `redis-cli` binary to test our connection.
|
||||
|
||||
Reference in New Issue
Block a user