Skip to content

Commit

Permalink
docs: Fix docker build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
saraedum committed Apr 2, 2024
1 parent ede5db1 commit 22873b3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ This method avoids polluting your workstation with the dependencies for the
build. Here is an example using Fedora, Podman and Buildah:

```shell
git clone --recursive https://github.com/purpleidea/mgmt/ ~/mgmt/
cd ~/mgmt/docker
buildah build -f Dockerfile-fedora.build -t mgmt_build
podman run -d -it --name mgmt_build localhost/mgmt_build
podman cp mgmt_build:/src/github.com/purpleidea/mgmt/mgmt /tmp/mgmt
sudo mv /tmp/mgmt /usr/local/bin # be sure this is in your $PATH
sudo chown root:root /usr/local/bin/mgmt
git clone --recursive https://github.com/purpleidea/mgmt/
cd mgmt
docker build -t mgmt -f docker/Dockerfile .
docker run --rm --entrypoint cat mgmt mgmt > mgmt
chmod +x mgmt
./mgmt --version
# you could now copy the mgmt binary somewhere into your $PATH, e.g., /usr/local/bin/ to make it accessible from anywhere
```

## Running mgmt
Expand Down

0 comments on commit 22873b3

Please sign in to comment.