Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit bd70844

Browse files
Fabio Falzoipippolo84
authored andcommitted
Update documentation to point to new Docker image
1 parent 8fde2c9 commit bd70844

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ See [API](./API.md)
7171

7272
## Functional tests
7373

74-
This type of tests are executed all locally and you need to configure a dedicated docker container:
75-
- `docker pull guerra1994/go-mqtt-docker-env`
76-
- follow the steps [here](https://hub.docker.com/r/guerra1994/go-mqtt-docker-env) to run it
77-
- run mosquitto broker in background mode using `mosquitto > /dev/null 2>&1 &`
74+
These tests can be executed locally. To do that, you need to configure a dedicated docker container:
75+
- get the image `docker pull guerra1994/go-docker-mqtt-ubuntu-env`
76+
- enter the container `docker run -it -v $(pwd):/home --privileged --name gmd guerra1994/go-docker-mqtt-ubuntu-env`
77+
- run the mosquitto MQTT broker in background mode `mosquitto > /dev/null 2>&1 &`
7878
- then run your test, for example `go test -v --tags=functional --run="TestDockerPsApi"`
7979

8080

0 commit comments

Comments
 (0)