-
Notifications
You must be signed in to change notification settings - Fork 8
Installation on Linux (Docker)
This guide shows how to install PySB on Linux using Docker.
If you are using Ubuntu, Docker can be installed using apt
:
sudo apt-get install docker.io
Other Linux distributions will often have Docker available using their package manager (e.g. yum
). If in doubt, follow the Linux installation instructions on the Docker website.
Docker usually starts automatically on most Linux installations. If the command docker version
does not work, further assistance is available on the Docker documentation.
You can install the PySB Docker container using the following command:
docker pull lolab/pysb
Replace the pathname after -v with the path on your laptop where you want to store your PySB models and related code. You can change the password in the quotation marks to a custom setting if you like.
docker run -d -p 443:8888 -e "PASSWORD=MyPassword" \
-v /home/alex/Desktop/notebooks:/notebooks --name pysb1 lolab/pysb
In your web browser, navigate to https://localhost