forked from containers/podman
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI:DOCS]build instructions for macOS
add instructions on how to build podman on macOS. big thanks to acui for help in getting this written down. Fixes: containers#9032 Signed-off-by: baude <[email protected]>
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Building the Podman client on macOS | ||
|
||
The following describes the process for building the Podman client on macOS. | ||
|
||
## Install brew | ||
Podman requires brew -- a package manager for macOS. This will allow additional packages to be installed that are | ||
needed by Podman. See the [brew project page](https://brew.sh/) for installation instructions. | ||
|
||
##Install build dependencies | ||
Podman requires some software from brew to be able to build. This can be done using brew from a macOS terminal: | ||
|
||
``` | ||
$ brew install go go-md2man | ||
``` | ||
|
||
## Obtain Podman source code | ||
|
||
You can obtain the latest source code for Podman from its github repository. | ||
|
||
``` | ||
$ git clone http://github.com/containers/podman go/src/github.com/containers/podman | ||
``` | ||
|
||
## Build client | ||
After completing the preparatory steps of obtaining the Podman source code and installing its dependencies, the client | ||
can now be built. | ||
|
||
``` | ||
$ cd go/src/github.com/containers/podman | ||
$ make podman-remote-darwin | ||
$ mv bin/podman-remote-darwin bin/podman | ||
``` | ||
|
||
The binary will be located in bin/ | ||
``` | ||
$ ls -l bin/ | ||
``` | ||
|
||
If you would like to build the docs associated with Podman on macOS: | ||
``` | ||
$ make install-podman-remote-darwin-docs | ||
$ ls docs/build/remote/darwin | ||
``` | ||
|
||
To install and view these manpages: | ||
|
||
``` | ||
$ cp -a docs/build/remote/darwin/* /usr/share/man/man1 | ||
$ man podman | ||
``` | ||
|
||
## Using the client | ||
|
||
To learn how to use the Podman client, refer its | ||
[tutorial](https://github.com/containers/podman/blob/master/docs/tutorials/remote_client.md). |