Skip to content

Commit

Permalink
Updated docker commands to point to public images.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiniry committed Jan 21, 2023
1 parent 7dd59f1 commit c10a672
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,15 +285,17 @@ use by running a command like:
$ docker exec -it HARDENS bash -l
```

If you are *within Galois network*, you can download the docker image from artifactory:
If you are *within Galois network* and *you have access rights*, you
can download the docker image from artifactory:

```bash
$ docker pull artifactory.galois.com:5015/hardens:latest
$ docker run --network host --privileged -v $PWD:/HARDENS -it artifactory.galois.com:5015/hardens:latest
```

The helper script `run_docker.sh` executed the above detacted run
command, using Galois's `artifactory` docker image name.
command, using Galois's public docker HARDENS image. The helper
script `docker_shell.sh` runs a shell in the spawned container.

### SysMLv2 Container

Expand Down
4 changes: 4 additions & 0 deletions docker_shell.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#! /usr/bin/env bash
set -e

docker exec -it hardens bash -l
4 changes: 1 addition & 3 deletions run_docker.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#! /usr/bin/env bash
set -e

sudo docker run --network host --privileged -v ${PWD}:/HARDENS -it \
artifactory.galois.com:5015/hardens:latest \
$@
docker run --network host --privileged -v ${PWD}:/HARDENS --name hardens -d -it galoisinc/hardens $@

0 comments on commit c10a672

Please sign in to comment.