Coder Social home page Coder Social logo

hyuni93 / qiskit-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sathayen/qiskit-docker

0.0 0.0 0.0 935 KB

This repo 'dockerizes' the development version of qiskit-terra,aqua and aqua-chemistry

License: Apache License 2.0

Dockerfile 25.56% Shell 15.89% Jupyter Notebook 58.56%

qiskit-docker's Introduction

Binder

qiskit-docker

Pre-requisites

  • docker: To build a docker image, you need to have docker installed and start the docker service. Also make sure to set appropriate user permission to run docker. Visit the docker website for OS specific instructions. If you are running Windows 7, you will need to install docker toolbox
  • This has been tested on Linux.

Docker image

  • The docker image can be pulled directly from dockerhub: docker pull nsathaye/qiskit-dev. See https://hub.docker.com/r/nsathaye/qiskit-dev/ for more information.
  • If you choose to build the docker image, read the next section.

Building the docker image using Dockerfile

  • Make sure that pre-requisites are in place.
  • Download (and extract the zip file) or git clone this repository.
  • cd to the directory and then execute:
    docker build -t qiskit-dev .

Starting a Jupyter notebook container

  • You can then start the jupyter notebook within the docker container as:
    docker run -it -p 8888:8888 docker.io/nsathaye/qiskit-dev
    OR if you have built the image yourself, then:
    * docker run -it -p 8888:8888 qiskit-dev
  • The earlier step should print a URL. Just copy-paste the in the browser of your host machine. For example:
docker run -it -p 8888:8888 docker.io/nsathaye/qiskit-dev
[I 10:59:27.315 NotebookApp] Writing notebook server cookie secret to /home/qiskitter/.local/share/jupyter/runtime/notebook_cookie_secret
[I 10:59:27.675 NotebookApp] Serving notebooks from local directory: /home/qiskitter
[I 10:59:27.675 NotebookApp] The Jupyter Notebook is running at:
[I 10:59:27.675 NotebookApp] http://(d14415a6c8af or 127.0.0.1):8888/?token=92b26e1a09ef2968cc5cc39c36bec1b1eba081ce9f4f15f5
[I 10:59:27.675 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 10:59:27.677 NotebookApp] 

 Copy/paste this URL into your browser when you connect for the first time,
 to login with a token:
     http://localhost:8888/?token=92b26e1a09ef2968cc5cc39c36bec1b1eba081ce9f4f15f5

On windows 7, when you start the docker toolbox, it should print the ip in the command prompt with a message such as: "docker is configured to use the default machine with IP 192.x.x.x.x .. . Just use that 192.x ip it prints , instead of "localhost"

qiskit-docker's People

Contributors

sathayen avatar schwarmco avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.