-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrate to Docker Compose V2 From https://docs.docker.com/compose/migrate/: > From July 2023 Compose V1 stopped receiving updates. It’s also > no longer available in new releases of Docker Desktop. * Skip forging+serverless test within Docker test Ref #108 * Fix test
- Loading branch information
Showing
4 changed files
with
10 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,21 +122,18 @@ Option 3: Use within Docker | |
|
||
We have provided a `Dockerfile <https://github.com/Qiskit-Extensions/circuit-knitting-toolbox/blob/main/Dockerfile>`__, which can be used to | ||
build a Docker image, as well as a | ||
`docker-compose.yml <https://github.com/Qiskit-Extensions/circuit-knitting-toolbox/blob/main/docker-compose.yml>`__ file, which allows one | ||
to use the Docker image with just a few simple commands. If you have | ||
Docker installed but not `Docker | ||
Compose <https://pypi.org/project/docker-compose/>`__, the latter can be | ||
installed by first running ``pip install docker-compose``. | ||
`compose.yaml <https://github.com/Qiskit-Extensions/circuit-knitting-toolbox/blob/main/compose.yaml>`__ file, which allows one | ||
to use the Docker image with just a few simple commands. | ||
|
||
.. code:: sh | ||
git clone [email protected]:Qiskit-Extensions/circuit-knitting-toolbox.git | ||
cd circuit-knitting-toolbox | ||
docker-compose build | ||
docker-compose up | ||
docker compose build | ||
docker compose up | ||
Depending on your system configuration, you may need to type ``sudo`` | ||
before each ``docker-compose`` command. | ||
before each ``docker compose`` command. | ||
|
||
.. note:: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
version: "3.4" | ||
|
||
services: | ||
notebook: | ||
build: . | ||
|