Skip to content

Commit

Permalink
Update instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
bdevans authored Feb 21, 2024
1 parent 7da7e7a commit cde781f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,18 @@ To build the image manually for testing on a local host for the native architect

`docker build -t briansimulator/brian -f docker/Dockerfile .`

Alternatively, to test multi-architeture builds and push to docker hub, use:
Alternatively, to test multi-architecture builds and push to docker hub, first login:

`docker login`

Then execute:

`docker buildx build --push --platform linux/amd64,linux/arm64/v8 -o type=image -t briansimulator/brian -f docker/Dockerfile .`

Then to run the image:
Finally, to run the image:

`docker run -it --init -p 8888:8888 briansimulator/brian`

Or if you prefer a simple `bash` terminal rather than JupyterLab:

`docker run -it --init --rm -p 8888:8888 briansimulator/brian`
`docker run -it --init briansimulator/brian /bin/bash`

0 comments on commit cde781f

Please sign in to comment.