Skip to content

Commit

Permalink
updating local development documentation for pulling the latest mflux… (
Browse files Browse the repository at this point in the history
#993)

* updating local development documentation for pulling the latest mflux image

* adding list of tag numbers
  • Loading branch information
JaymeeH authored Oct 17, 2024
1 parent 1f81f51 commit 555f88f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/local_development.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docker rmi princeton_dev:latest (or the version you had previously like mediafl
```

You can use `docker images` to find out the exact name of the image to delete.
You can also use the docker desktop to delete the image and container.


## Load the new Docker image
Expand All @@ -32,8 +33,10 @@ echo "$DOCKERHUB_PASSWORD" | docker login --username $DOCKERHUB_USERNAME --passw

2. _create a container_ with an image from docker hub (notice we name it `mediaflux`)

You can get the list of tag numbers from [Docker Hub](https://hub.docker.com/repository/docker/pulibraryrdss/mediaflux_dev/general)

```
docker create --name mediaflux --platform linux/amd64 --mac-address 02:42:ac:11:00:02 --publish 8888:80 pulibraryrdss/mediaflux_dev:latest
docker create --name mediaflux --platform linux/amd64 --mac-address 02:42:ac:11:00:02 --publish 8888:80 pulibraryrdss/mediaflux_dev:{tag_number}
```

3. From now on when you need _start this container_ you can use:
Expand Down

0 comments on commit 555f88f

Please sign in to comment.