Sign inSign up

mickahell/quantum_lab_qiskit

By mickahell

•Updated over 2 years ago

Quantum lab for Qiskit development

Image
Machine learning & AI
Data science
Operating systems
1

5.7K

mickahell/quantum_lab_qiskit repository overview

⁠Quantum Lab - Qiskit IBM

GitHub release (latest by date)

⁠Prerequisites

  • Linux
    apt-get install docker-ce docker-ce-cli containerd.io
  • Mac / Windows https://www.docker.com/products/docker-desktop

⁠Details

⁠Getting started

⁠Build
docker build . --file Dockerfile --tag quantum_lab_qiskit
⁠Run
docker run -d --name qiskit_lab \
  -v $PWD/YOUR_DATA_FOLDER:/opt/quantum_lab/data/share \
  -p 8888:8888 \
  mickahell/quantum_lab_qiskit:latest /opt/quantum_lab/start_jupyter.sh
  • copy and paste this url in your browser : http://127.0.0.1:8888/ to open the jupyter interface.
  • everyfile in the share folder gonna be sync with your local volume.
⁠Volume

The folder data/share is link to the host file and allow to register the modification in the host computer

⁠Simple docker commands

  • List the existed images : docker images
  • List the existed containeur : docker ps -a
    • The -a is used the see every existed containeurs, that's include the stopped one
  • To start a containeur : docker start [CONTAINEUR_ID]
  • To go inside a started containeur : docker exec -it -u root [CONTAINEUR_ID] /bin/bash
  • Delete containeur : docker rm [CONTAINEUR_ID]
  • Delete stopped container : docker container prune
  • Delete image : docker rmi [NAME_OF_THE_IMAGE]
    • You can use -f to force the suppression and delete the containeurs associated to the image
  • List the existed volume : docker volume ls
  • Delete volume not used anymore : docker volume prune

Tag summary

Content type

Image

Digest

sha256:40d31996b…

Size

1 GB

Last updated

over 2 years ago

docker pull mickahell/quantum_lab_qiskit