Starting with docker and creating an image with ipython

On my fedora box, I followed the instructions from the official web page: https://docs.docker.com/installation/fedora/

sudo yum -y install docker
sudo systemctl start docker
sudo systemctl enable docker
sudo docker run -i -t fedora /bin/bash

Once the new shell appears (bash), you can type for instance:

yum install ipython

Note that sudo does not work here (I presume that by default you have root permission).

You can now exit your docker container (exit)

Note that to start your fedora container it takes a fraction of a second ! Note also the size (250Mb) . To check that type:

sudo docker images
Please follow and like us:
This entry was posted in Computer Science, Linux, Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published.