Sign inSign up

tiny69/docker-whale

By tiny69

Updated over 10 years ago

Smarter Docker whale.

Image
0

203

tiny69/docker-whale repository overview

This Docker-Whale is based on docker/whalesay and has been built following the demo tutorial (is not there any more).

This is an improved whalesay image that “talks on its own” using the fortunes program that prints out wise sayings for our whale to say, and requires fewer words to run.

How to use this image

$ docker run tiny69/docker-whale
 ________________________ 
< The future lies ahead. >
 ------------------------ 
    \
     \
      \     
                    ##        .            
              ## ## ##       ==            
           ## ## ## ##      ===            
       /""""""""""""""""___/ ===        
  ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ /  ===- ~~~   
       \______ o          __/            
        \    \        __/             
          \____\______/   

After each run you will have a remaining container, see docker ps -a Restart the same container with docker start -i <container-id or -name>

Dockerfile

FROM docker/whalesay:latest
RUN apt-get -y update && apt-get install -y fortunes
CMD /usr/games/fortune -a | cowsay

Purpose

just for education

Markdown Syntax

Can be found here.

Tag summary

Content type

Image

Digest

Size

121.5 MB

Last updated

over 10 years ago

docker pull tiny69/docker-whale