Skip to content

Commit 841eac0

Browse files
committed
Switch references from libpod.conf to containers.conf
Signed-off-by: Daniel J Walsh <[email protected]>
1 parent 0d26a57 commit 841eac0

17 files changed

+58
-203
lines changed

Diff for: .cirrus.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ env:
6161
SPECIALMODE: "none" # don't do anything special
6262
TEST_REMOTE_CLIENT: 'false' # don't test remote client by default
6363
ADD_SECOND_PARTITION: 'false' # will certainly fail inside containers
64-
MOD_LIBPOD_CONF: 'true' # Update libpod.conf runtime if required by OS environment
64+
MOD_CONTAINERS_CONF: 'true' # Update containers.conf runtime if required by OS environment
6565

6666
####
6767
#### Credentials and other secret-sauces, decrypted at runtime when authorized.
@@ -286,7 +286,7 @@ build_each_commit_task:
286286
memory: "8Gb"
287287

288288
env:
289-
MOD_LIBPOD_CONF: 'false'
289+
MOD_CONTAINERS_CONF: 'false'
290290

291291
timeout_in: 30m
292292

@@ -318,7 +318,7 @@ build_without_cgo_task:
318318
memory: "8Gb"
319319

320320
env:
321-
MOD_LIBPOD_CONF: 'false'
321+
MOD_CONTAINERS_CONF: 'false'
322322

323323
timeout_in: 30m
324324

@@ -512,7 +512,7 @@ special_testing_in_podman_task:
512512

513513
env:
514514
ADD_SECOND_PARTITION: 'true'
515-
MOD_LIBPOD_CONF: 'false' # Use existing/native setup
515+
MOD_CONTAINERS_CONF: 'false' # Use existing/native setup
516516
SPECIALMODE: 'in_podman' # See docs
517517

518518
timeout_in: 60m

Diff for: Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ clean: ## Clean artifacts
263263
libpod/container_easyjson.go \
264264
libpod/pod_easyjson.go \
265265
docs/build
266+
make -C docs clean
266267

267268
.PHONY: libpodimage
268269
libpodimage: ## Build the libpod image

Diff for: cmd/podman/registry/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func newPodmanConfig() {
7070

7171
// setXdgDirs ensures the XDG_RUNTIME_DIR env and XDG_CONFIG_HOME variables are set.
7272
// containers/image uses XDG_RUNTIME_DIR to locate the auth file, XDG_CONFIG_HOME is
73-
// use for the libpod.conf configuration file.
73+
// use for the containers.conf configuration file.
7474
func setXdgDirs() error {
7575
if !rootless.IsRootless() {
7676
return nil

Diff for: cmd/podman/system/renumber.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var (
1818
podman system renumber
1919
2020
Migrate lock numbers to handle a change in maximum number of locks.
21-
Mandatory after the number of locks in libpod.conf is changed.
21+
Mandatory after the number of locks in containers.conf is changed.
2222
`
2323

2424
renumberCommand = &cobra.Command{

Diff for: cni/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ directory just contains an example configuration that can be used as the
55
basis for your own configuration.
66

77
To use this configuration, place it in `/etc/cni/net.d` (or the directory
8-
specified by `cni_config_dir` in your `libpod.conf`).
8+
specified by `cni_config_dir` in your `containers.conf`).
99

1010
For example a basic network configuration can be achieved with:
1111

@@ -14,4 +14,4 @@ sudo mkdir -p /etc/cni/net.d
1414
curl -qsSL https://raw.githubusercontent.com/containers/libpod/master/cni/87-podman-bridge.conflist | sudo tee /etc/cni/net.d/87-podman-bridge.conf
1515
```
1616

17-
Dependent upon your CNI configuration, you will need to install as a minimum the `port` and `bridge` [CNI plugins](https://github.com/containernetworking/plugins) into `/opt/cni/bin` (or the directory specified by `cni_plugin_dir` in libpod.conf). Please refer to the [CNI](https://github.com/containernetworking) project page in GitHub for more information.
17+
Dependent upon your CNI configuration, you will need to install as a minimum the `port` and `bridge` [CNI plugins](https://github.com/containernetworking/plugins) into `/opt/cni/bin` (or the directory specified by `cni_plugin_dir` in containers.conf). Please refer to the [CNI](https://github.com/containernetworking) project page in GitHub for more information.

Diff for: docs/source/markdown/libpod.conf.5.md

-114
This file was deleted.

Diff for: docs/source/markdown/podman-attach.1.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ or name, either to view its ongoing output or to control it interactively.
1515
You can detach from the container (and leave it running) using a configurable key sequence. The default
1616
sequence is `ctrl-p,ctrl-q`.
1717
Configure the keys sequence using the **--detach-keys** option, or specifying
18-
it in the **libpod.conf** file: see **libpod.conf(5)** for more information.
18+
it in the **containers.conf** file: see **containers.conf(5)** for more information.
1919

2020
## OPTIONS
2121
**--detach-keys**=*sequence*
@@ -55,4 +55,4 @@ $ podman attach 1234
5555
$ podman attach --no-stdin foobar
5656
```
5757
## SEE ALSO
58-
podman(1), podman-exec(1), podman-run(1)
58+
podman(1), podman-exec(1), podman-run(1), containers.conf(5)

Diff for: docs/source/markdown/podman-create.1.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ detached container with **podman attach**.
190190
When attached in the tty mode, you can detach from the container (and leave it
191191
running) using a configurable key sequence. The default sequence is `ctrl-p,ctrl-q`.
192192
Configure the keys sequence using the **--detach-keys** option, or specifying
193-
it in the **libpod.conf** file: see **libpod.conf(5)** for more information.
193+
it in the **containers.conf** file: see **containers.conf(5)** for more information.
194194

195195
**--detach-keys**=*sequence*
196196

@@ -741,7 +741,7 @@ Security Options
741741
- `seccomp=unconfined` : Turn off seccomp confinement for the container
742742
- `seccomp=profile.json` : White listed syscalls seccomp Json file to be used as a seccomp filter
743743

744-
Note: Labeling can be disabled for all containers by setting label=false in the **libpod.conf** (`/etc/containers/libpod.conf`) file.
744+
Note: Labeling can be disabled for all containers by setting label=false in the **containers.conf** (`/etc/containers/containers.conf` or `$HOME/.config/containers/containers.conf`) file.
745745

746746
**--shm-size**=*size*
747747

@@ -989,7 +989,7 @@ where source dir is mounted on) has to have right propagation properties. For
989989
shared volumes, source mount point has to be shared. And for slave volumes,
990990
source mount has to be either shared or slave. <sup>[[1]](#Footnote1)</sup>
991991

992-
If you want to recursively mount a volume and all of it's submounts into a
992+
If you want to recursively mount a volume and all of its submounts into a
993993
container, then you can use the `rbind` option. By default the bind option is
994994
used, and submounts of the source directory will not be mounted into the
995995
container.
@@ -1150,7 +1150,7 @@ b
11501150
NOTE: Use the environment variable `TMPDIR` to change the temporary storage location of downloaded container images. Podman defaults to use `/var/tmp`.
11511151

11521152
## SEE ALSO
1153-
**subgid**(5), **subuid**(5), **libpod.conf**(5), **systemd.unit**(5), **setsebool**(8), **slirp4netns**(1), **fuse-overlayfs**(1).
1153+
**subgid**(5), **subuid**(5), **containers.conf**(5), **systemd.unit**(5), **setsebool**(8), **slirp4netns**(1), **fuse-overlayfs**(1).
11541154

11551155
## HISTORY
11561156
October 2017, converted from Docker documentation to Podman by Dan Walsh for Podman <[email protected]>

Diff for: docs/source/markdown/podman-events.1.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ podman\-events - Monitor Podman events
1010

1111
Monitor and print events that occur in Podman. Each event will include a timestamp,
1212
a type, a status, name (if applicable), and image (if applicable). The default logging
13-
mechanism is *journald*. This can be changed in libpod.conf by changing the `events_logger`
13+
mechanism is *journald*. This can be changed in containers.conf by changing the `events_logger`
1414
value to `file`. Only `file` and `journald` are accepted. A `none` logger is also
1515
available but this logging mechanism completely disables events; nothing will be reported by
1616
`podman events`.
@@ -150,7 +150,7 @@ $ podman events --format json
150150
```
151151

152152
## SEE ALSO
153-
podman(1)
153+
podman(1), containers.conf(5)
154154

155155
## HISTORY
156156
March 2019, Originally compiled by Brent Baude <[email protected]>

Diff for: docs/source/markdown/podman-run.1.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Specify the key sequence for detaching a container; _sequence_ is a comma-delimi
208208
in which each item can be a single character from the [a-Z] range,
209209
or **ctrl**-_value_, where _value_ is one of: **a-z** or **@^[,_**.
210210

211-
This option can also be set in **libpod.conf**(5) file.
211+
This option can also be set in **containers.conf**(5) file.
212212

213213
Specifying "" will disable this feature. The default is **ctrl-p,ctrl-q**.
214214

@@ -759,7 +759,7 @@ Security Options
759759
- **seccomp=unconfined**: Turn off seccomp confinement for the container
760760
- **seccomp**=_profile.json_: Allowed syscall list seccomp JSON file to be used as a seccomp filter
761761

762-
Note: Labeling can be disabled for all containers by setting **label=false** in the **libpod.conf**(5) file.
762+
Note: Labeling can be disabled for all containers by setting **label=false** in the **containers.conf**(5) file.
763763

764764
**--shm-size**=_number_[_unit_]
765765

@@ -1255,8 +1255,8 @@ $ podman run -p 8080:80 -d -i -t fedora/httpd
12551255

12561256
To mount a host directory as a container volume, specify the absolute path to
12571257
the directory and the absolute path for the container directory separated by a
1258-
colon. If the source is a named volume maintained by Podman, it's recommended to
1259-
use it's name rather than the path to the volume. Otherwise the volume will be
1258+
colon. If the source is a named volume maintained by Podman, it is recommended to
1259+
use its name rather than the path to the volume. Otherwise the volume will be
12601260
considered as an orphan and wiped if you execute **podman volume prune**:
12611261

12621262
```
@@ -1426,7 +1426,7 @@ b
14261426
NOTE: Use the environment variable `TMPDIR` to change the temporary storage location of downloaded container images. Podman defaults to use `/var/tmp`.
14271427

14281428
## SEE ALSO
1429-
**subgid**(5), **subuid**(5), **libpod.conf**(5), **systemd.unit**(5), **setsebool**(8), **slirp4netns**(1), **fuse-overlayfs**(1).
1429+
**subgid**(5), **subuid**(5), **containers.conf**(5), **systemd.unit**(5), **setsebool**(8), **slirp4netns**(1), **fuse-overlayfs**(1).
14301430

14311431
## HISTORY
14321432
September 2018, updated by Kunal Kushwaha <[email protected]>

Diff for: docs/source/markdown/podman-system-migrate.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This can be used after a system upgrade which changes the default OCI runtime to
3333
There are no guarantees that the containers will continue to work under the new runtime, as some runtimes support differing options and configurations.
3434

3535
## SEE ALSO
36-
`podman(1)`, `libpod.conf(5)`, `usermod(8)`
36+
`podman(1)`, `containers.conf(5)`, `usermod(8)`
3737

3838
## HISTORY
3939
April 2019, Originally compiled by Giuseppe Scrivano (gscrivan at redhat dot com)

Diff for: docs/source/markdown/podman-system-renumber.1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ podman\-system\-renumber - Migrate lock numbers to handle a change in maximum nu
99
## DESCRIPTION
1010
**podman system renumber** renumbers locks used by containers and pods.
1111

12-
Each Podman container and pod is allocated a lock at creation time, up to a maximum number controlled by the **num_locks** parameter in **libpod.conf**.
12+
Each Podman container and pod is allocated a lock at creation time, up to a maximum number controlled by the **num_locks** parameter in **containers.conf**.
1313

14-
When all available locks are exhausted, no further containers and pods can be created until some existing containers and pods are removed. This can be avoided by increasing the number of locks available via modifying **libpod.conf** and subsequently running **podman system renumber** to prepare the new locks (and reallocate lock numbers to fit the new struct).
14+
When all available locks are exhausted, no further containers and pods can be created until some existing containers and pods are removed. This can be avoided by increasing the number of locks available via modifying **containers.conf** and subsequently running **podman system renumber** to prepare the new locks (and reallocate lock numbers to fit the new struct).
1515

1616
**podman system renumber** must be called after any changes to **num_locks** - failure to do so will result in errors starting Podman as the number of locks available conflicts with the configured number of locks.
1717

@@ -20,7 +20,7 @@ When all available locks are exhausted, no further containers and pods can be cr
2020
If possible, avoid calling **podman system renumber** while there are other Podman processes running.
2121

2222
## SEE ALSO
23-
`podman(1)`, `libpod.conf(5)`
23+
`podman(1)`, `containers.conf(5)`
2424

2525
## HISTORY
2626
February 2019, Originally compiled by Matt Heon (mheon at redhat dot com)

0 commit comments

Comments
 (0)