-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch references from libpod.conf to containers.conf #7009
Switch references from libpod.conf to containers.conf #7009
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Should help with #6982 |
tests are falling down @rhatdan |
docs/source/markdown/podman.1.md
Outdated
|
||
libpod.conf is the configuration file for all tools using libpod to manage containers, when run as root. Administrators can override the defaults file by creating `/etc/containers/libpod.conf`. When Podman runs in rootless mode, the file `$HOME/.config/containers/libpod.conf` is created and replaces some fields in the system configuration file. | ||
containers.conf is the configuration file for container engines. Administrators can override the defaults file by creating `/etc/containers/containers.conf`. When Podman runs in rootless mode, the file `$HOME/.config/containers/containers.conf` is created and replaces some fields in the system configuration file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
containers.conf is the configuration file for container engines. Administrators can override the defaults file by creating `/etc/containers/containers.conf`. When Podman runs in rootless mode, the file `$HOME/.config/containers/containers.conf` is created and replaces some fields in the system configuration file. | |
containers.conf is the configuration file for container engines, when run as root. Administrators can override the defaults file by creating `/etc/containers/containers.conf`. When Podman runs in rootless mode, the file `$HOME/.config/containers/containers.conf` is created and replaces some fields in the system configuration file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TomSweeneyRedHat How about the new wording.
@@ -15,7 +15,7 @@ or name, either to view its ongoing output or to control it interactively. | |||
You can detach from the container (and leave it running) using a configurable key sequence. The default | |||
sequence is `ctrl-p,ctrl-q`. | |||
Configure the keys sequence using the **--detach-keys** option, or specifying | |||
it in the **libpod.conf** file: see **libpod.conf(5)** for more information. | |||
it in the **containers.conf** file: see **containers.conf(5)** for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably should add container.conf(5) to the bottom of this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -10,7 +10,7 @@ podman\-events - Monitor Podman events | |||
|
|||
Monitor and print events that occur in Podman. Each event will include a timestamp, | |||
a type, a status, name (if applicable), and image (if applicable). The default logging | |||
mechanism is *journald*. This can be changed in libpod.conf by changing the `events_logger` | |||
mechanism is *journald*. This can be changed in containers.conf by changing the `events_logger` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably should add container.conf(5) to the bottom of this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/source/markdown/podman.1.md
Outdated
@@ -23,7 +23,7 @@ created by the other. | |||
|
|||
**--cgroup-manager**=*manager* | |||
|
|||
CGroup manager to use for container cgroups. Supported values are cgroupfs or systemd. Default is systemd unless overridden in the libpod.conf file. | |||
CGroup manager to use for container cgroups. Supported values are cgroupfs or systemd. Default is systemd unless overridden in the containers.conf file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CGroup manager to use for container cgroups. Supported values are cgroupfs or systemd. Default is systemd unless overridden in the containers.conf file. | |
The cgroup manager to use for container cgroups. Supported values are cgroupfs or systemd. Default is systemd unless overridden in the containers.conf file. |
docs/source/markdown/podman.1.md
Outdated
Podman uses builtin defaults if no libpod.conf file is found. | ||
Distributions ship the `/usr/share/containers/containers.conf` file with their defaults. Administrators can override fields in this file by creating the `/etc/containers/containers.conf` file. Users can further modify defaults by creating the `$HOME/.config/containers/containers.conf` file. Podman merges it's builtin defaults with the specify fields from these files, if they exist. Fields specified in the users file override the administrators file, which overrides the distribution files, which override the builtin defaults. | ||
|
||
Podman uses builtin defaults if no containers.conf file is found. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space/tab issue on this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@TomSweeneyRedHat PTAL again. |
The following
Furthermore there is a mention of |
docs/source/markdown/podman.1.md
Outdated
|
||
Podman uses builtin defaults if no libpod.conf file is found. | ||
Distributions ship the `/usr/share/containers/containers.conf` file with their default settings. Administrators can override fields in this file by creating the `/etc/containers/containers.conf` file. Users can further modify defaults by creating the `$HOME/.config/containers/containers.conf` file. Podman merges it's builtin defaults with the specify fields from these files, if they exist. Fields specified in the users file override the administrators file, which overrides the distribution's file, which override the built-in defaults. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's and its drives me crazy, need to remove an apostrophe.
Distributions ship the `/usr/share/containers/containers.conf` file with their default settings. Administrators can override fields in this file by creating the `/etc/containers/containers.conf` file. Users can further modify defaults by creating the `$HOME/.config/containers/containers.conf` file. Podman merges it's builtin defaults with the specify fields from these files, if they exist. Fields specified in the users file override the administrators file, which overrides the distribution's file, which override the built-in defaults. | |
Distributions ship the `/usr/share/containers/containers.conf` file with their default settings. Administrators can override fields in this file by creating the `/etc/containers/containers.conf` file. Users can further modify defaults by creating the `$HOME/.config/containers/containers.conf` file. Podman merges its builtin defaults with the specify fields from these files, if they exist. Fields specified in the users file override the administrators file, which overrides the distribution's file, which override the built-in defaults. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Distributions ship the `/usr/share/containers/containers.conf` file with their default settings. Administrators can override fields in this file by creating the `/etc/containers/containers.conf` file. Users can further modify defaults by creating the `$HOME/.config/containers/containers.conf` file. Podman merges it's builtin defaults with the specify fields from these files, if they exist. Fields specified in the users file override the administrators file, which overrides the distribution's file, which override the built-in defaults. | |
Distributions ship the `/usr/share/containers/containers.conf` file with their default settings. Administrators can override fields in this file by creating the `/etc/containers/containers.conf` file. Users can further modify defaults by creating the `$HOME/.config/containers/containers.conf` file. Podman merges it's builtin defaults with the specified fields from these files, if they exist. Fields specified in the users file override the administrators file, which overrides the distribution's file, which override the built-in defaults. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
specify to specified in the prior, doesn't show well in the diff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@csomh I think I got them all. |
docs/source/markdown/podman.1.md
Outdated
|
||
Podman uses builtin defaults if no libpod.conf file is found. | ||
Distributions ship the `/usr/share/containers/containers.conf` file with their default settings. Administrators can override fields in this file by creating the `/etc/containers/containers.conf` file. Users can further modify defaults by creating the `$HOME/.config/containers/containers.conf` file. Podman merges its builtin defaults with the specified fields from these files, if they exist. Fields specified in the users file override the administrators file, which overrides the distribution's file, which override the built-in defaults. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry if I missed this this morning, missing a possesive adminstrator.
Distributions ship the `/usr/share/containers/containers.conf` file with their default settings. Administrators can override fields in this file by creating the `/etc/containers/containers.conf` file. Users can further modify defaults by creating the `$HOME/.config/containers/containers.conf` file. Podman merges its builtin defaults with the specified fields from these files, if they exist. Fields specified in the users file override the administrators file, which overrides the distribution's file, which override the built-in defaults. | |
Distributions ship the `/usr/share/containers/containers.conf` file with their default settings. Administrators can override fields in this file by creating the `/etc/containers/containers.conf` file. Users can further modify defaults by creating the `$HOME/.config/containers/containers.conf` file. Podman merges its builtin defaults with the specified fields from these files, if they exist. Fields specified in the users file override the administrator's file, which overrides the distribution's file, which override the built-in defaults. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one stinking apostrophe, otherwise LGTM
Signed-off-by: Daniel J Walsh <[email protected]>
LGTM. @TomSweeneyRedHat PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Jobs unable to start because podman trying to use systemd cgroup manager. See error below : ``` WARN[0000] Failed to add conmon to systemd sandbox cgroup: dial unix /run/systemd/private: connect: no such file or directory Error: OCI runtime error: systemd cgroup flag passed, but systemd support for managing cgroups is not available ``` * According to this PR containers/podman#7009, podman switch references from libpod.conf to containers.conf. * According to containers.conf man (https://github.com/containers/common/blob/main/docs/containers.conf.5.md), configuration file is a TOML file but engine section declaration is missing.
Update Dockerfile.j2 SUMMARY Jobs unable to start because podman trying to use systemd cgroup manager. See error below : WARN[0000] Failed to add conmon to systemd sandbox cgroup: dial unix /run/systemd/private: connect: no such file or directory Error: OCI runtime error: systemd cgroup flag passed, but systemd support for managing cgroups is not available related #10099 ISSUE TYPE Bugfix Pull Request COMPONENT NAME API AWX VERSION awx: 19.0.0 ADDITIONAL INFORMATION According to this PR containers/podman#7009, podman switch references from libpod.conf to containers.conf. According to containers.conf man (https://github.com/containers/common/blob/main/docs/containers.conf.5.md), configuration file is a TOML file but engine section declaration is missing. thanks to @Siorde too 👍 Reviewed-by: Chris Meyers <None> Reviewed-by: Shane McDonald <[email protected]>
Signed-off-by: Daniel J Walsh [email protected]