-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to RockyLinux9 with latest docker engine and compose plugin (#16
) Additional `dockerd` options are required for RockyLinux9, see documentation in `docker-config/dockerd.md`. `docker-compose.yml` syntax updated for latest compose plugin version. Switched to use compose plugin instead of `docker-compose` standalone binary but to keep backward-compatibility, `docker-compose` standalone library can still be used via a new config in `env.local`. @fmigneault FYI.
- Loading branch information
Showing
5 changed files
with
70 additions
and
25 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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: '2' | ||
services: | ||
master: | ||
environment: | ||
|
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
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,19 @@ | ||
Need to start `dockerd` with `--default-ulimit nofile=65536:524288 | ||
--default-cgroupns-mode host`. | ||
|
||
Need to set `default-ulimit` because the default changed with RL9 and | ||
the default value is too low. | ||
|
||
``` | ||
# RL9 | ||
$ cat /etc/systemd/system.conf |grep DefaultLimitNOFILE | ||
#DefaultLimitNOFILE=1024:524288 | ||
# RL8 | ||
$ cat /etc/systemd/system.conf |grep DefaultLimitNOFILE | ||
#DefaultLimitNOFILE= | ||
``` | ||
|
||
Need to set `default-cgroupns-mode` to `host` because | ||
`default-cgroupns-mode` default changed to `private` in RL9 | ||
because the switch to Cgroup v2. |
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
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