-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16237 from alexlarsson/quadlet-updates
Various quadlet updates
- Loading branch information
Showing
16 changed files
with
157 additions
and
41 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
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
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
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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
## assert-podman-args "--cap-drop=all" | ||
## !assert-podman-args "--cap-drop=all" | ||
## assert-podman-args "--cap-add=cap_dac_override" | ||
## assert-podman-args "--cap-add=cap_audit_write" | ||
## assert-podman-args "--cap-add=cap_ipc_owner" | ||
|
||
[Container] | ||
Image=imagename | ||
AddCapability=CAP_DAC_OVERRIDE | ||
# Verify that we can reset to the default cap set | ||
DropCapability= | ||
AddCapability=CAP_DAC_OVERRIDE CAP_AUDIT_WRITE | ||
AddCapability=CAP_IPC_OWNER |
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,9 @@ | ||
## !assert-podman-args "--cap-drop=all" | ||
## assert-podman-args "--cap-drop=cap_dac_override" | ||
## assert-podman-args "--cap-drop=cap_audit_write" | ||
## assert-podman-args "--cap-drop=cap_ipc_owner" | ||
|
||
[Container] | ||
Image=localhost/imagename | ||
DropCapability=CAP_DAC_OVERRIDE CAP_AUDIT_WRITE | ||
DropCapability=CAP_IPC_OWNER |
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,7 @@ | ||
## assert-podman-args --device=/dev/fuse | ||
## assert-podman-args --device=/dev/loop0:r | ||
|
||
[Container] | ||
Image=localhost/imagename | ||
AddDevice=/dev/fuse | ||
AddDevice=/dev/loop0:r |
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,5 @@ | ||
## assert-podman-args "--network=host" | ||
|
||
[Container] | ||
Image=localhost/imagename | ||
Network=host |
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,4 @@ | ||
## assert-failed | ||
## assert-stderr-contains "No Image key specified" | ||
## assert-stderr-contains "no Image key specified" | ||
|
||
[Container] |
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,6 @@ | ||
## assert-podman-args "--read-only-tmpfs=false" | ||
## assert-podman-args "--read-only" | ||
|
||
[Container] | ||
Image=localhost/imagename | ||
VolatileTmp=no |
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,7 @@ | ||
## !assert-podman-args "--read-only" | ||
## !assert-podman-args "--tmpfs" "/tmp:rw,size=512M,mode=1777" | ||
|
||
[Container] | ||
Image=localhost/imagename | ||
VolatileTmp=no | ||
ReadOnly=no |
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,6 @@ | ||
## !assert-podman-args "--read-only" | ||
## assert-podman-args "--tmpfs" "/tmp:rw,size=512M,mode=1777" | ||
|
||
[Container] | ||
Image=localhost/imagename | ||
ReadOnly=no |
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,5 @@ | ||
## assert-podman-args --security-opt seccomp=unconfined | ||
|
||
[Container] | ||
Image=localhost/imagename | ||
SeccompProfile=unconfined |
Oops, something went wrong.