From aa45f2517413d6ce81611d8fb6fb2b4924579e46 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Tue, 15 Dec 2020 20:17:24 +1000 Subject: Missed username for some Docker Hub commands --- doc/buildWithDocker.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/buildWithDocker.md b/doc/buildWithDocker.md index 34bf50d0..1db5e7a7 100644 --- a/doc/buildWithDocker.md +++ b/doc/buildWithDocker.md @@ -22,13 +22,13 @@ The Docker Hub images are built using 1000:1000 for the user id and group id. If The below example will run the container, setting the user and group ids automatically: ``` -docker run --rm -v :/sources --user $(id -u):$(id -g) infinitime-build +docker run --rm -v :/sources --user $(id -u):$(id -g) pfeerick/infinitime-build ``` Or you can specify your user id and group id (by number, not by name) directly: ``` -docker run --rm -v :/sources --user uid_num:gid_num infinitime-build +docker run --rm -v :/sources --user uid_num:gid_num pfeerick/infinitime-build ``` ## Build the image yourself @@ -52,7 +52,7 @@ When this is done, a new image named *infinitime-build* is available. ## Run a container to build the project: -The command to run the container is essentially the same, regardless of whether you built it yourself from the dockerfiles, or are using the Docker hub image: +The command to run the container is essentially the same, regardless of whether you built it yourself from the dockerfiles, or are using the Docker Hub images (use `pfeerick/infinitime-build` instead of `infinitime-build` for the later): ``` docker run --rm -v :/sources infinitime-build -- cgit v1.2.3