Anaconda With Docker On The Cloud

less than 1 minute read

  • 1. Create your droplet
  • 2. Mount/install your ubuntu server with docker
  • 3. If you have an account on docker hub then : docker login
  • 4. docker pull continuumio/anaconda3
    # Run your docker image
    $ docker run -p 8888:8888 -i -t continuumio/anaconda3 /bin/bash
 #Then run jupyter notebook on port 8888
      jupyter notebook --ip=0.0.0.0 --port=8888 --allow-root
  • 4. Copy the token from your console (example : http://1c58dfd99a06:8888/?token=2f80b56511f990500fc9700eaaa83cad034233cd27d1a883)
  • 5. Now you can access jupyter notebook from your browser with : http://droplet-IP:8888
  • 6. Enter the token you already copied and bingo

    Docker Bonus

  • To list all docker downloaded images : sudo docker images
  • To see running containers : sudo docker ps (-a)
  • to stop running container : sudo docker stop ID

Updated: