docker/whalesay

Verified Publisher

By Docker, Inc.

Updated almost 11 years ago

An image for use in the Docker demo tutorial

Image
Languages & frameworks
Integration & delivery
760

100M+

docker/whalesay repository overview

Whalesay contains an adaption of the Linux cowsay game. The game was originally written in 1999 by Tony Monroe. The cowsay code in this image has three modifications:

  • the default.cow is now a Docker whale
  • a docker.cow was added
  • a modification to the install.sh to disable interactive feature -This image is used by the Docker demo tutorial purely as a teaching tool.

How to use this image

$ docker run docker/whalesay cowsay boo
     _____ 
    < boo >
     ----- 
            \
             \
                \     
                                            ##        .            
                                ## ## ##       ==            
                         ## ## ## ##      ===            
                 /""""""""""""""""___/ ===        
        ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ /  ===- ~~~   
                 \______ o          __/            
                    \    \        __/             
                        \____\______/   

Dockerfile

FROM ubuntu:14.04

# install cowsay, and move the "default.cow" out of the way so we can overwrite it with "docker.cow"
RUN apt-get update && apt-get install -y cowsay --no-install-recommends && rm -rf /var/lib/apt/lists/* \
	&& mv /usr/share/cowsay/cows/default.cow /usr/share/cowsay/cows/orig-default.cow

# "cowsay" installs to /usr/games
ENV PATH $PATH:/usr/games

COPY docker.cow /usr/share/cowsay/cows/
RUN ln -sv /usr/share/cowsay/cows/docker.cow /usr/share/cowsay/cows/default.cow

CMD ["cowsay"]

Tag summary

Content type

Image

Digest

sha256:178598e51

Size

-

Last updated

almost 11 years ago

docker pull docker/whalesay

This week's pulls

Pulls:

160,711

Mar 23 to Mar 29