Skip to content
Repo for PyData 2018 tuorial
Jupyter Notebook Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.DS_Store
Dockerfile
README.md
bayes_spend_tutorial.ipynb
requirements.txt
spend_data_distribute_short.csv

README.md

Development

To build dockerfile

Change directory to location of Dockerfile or point the following command to the directory containing the Dockerfile

docker build .

Tag the image

Take the image ID created for the image when the build is successful Use a tag name that includes your username so can push to your docker hub repository

docker tag <image ID> <tag name>

Push the image

docker login

Enter login details

docker push <tag name>

To Run

docker run -p 8888:8888 moocarme/pydata1.0

Setting up on an EC2 instance

  • Start an ec2 instance
  • Update and install docker
sudo yum update -y
sudo yum install -y docker
  • Start docker daemon
sudo service docker start
  • Run image
sudo docker run -p 8888:8888 moocarme/pydata1.0
You can’t perform that action at this time.