Skip to content

Commit 1c898b7

Browse files
authored
QOL improvement (#7010)
1 parent d1fbe8c commit 1c898b7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

contrib/containers/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ podman build -t gcc:8 -f ./contrib/containers/gcc-8.dockerfile
1212

1313
## Run the container
1414

15+
Check if SELinux is enabled:
16+
```bash
17+
# SELinux status check
18+
getenforce
19+
20+
# Enforcing - SELinux is enabled and enforcing policies
21+
# Permissive - SELinux is enabled but only logging violations
22+
# Disabled - SELinux is completely disabled
23+
```
24+
1525
If SELinux is enabled, run the following command once:
1626

1727
```bash
@@ -49,3 +59,16 @@ Compile desired targets:
4959
```bash
5060
make -j all fdctl fddev
5161
```
62+
63+
Exiting / Cleanup
64+
65+
```bash
66+
# Leave the container
67+
exit
68+
69+
# List of containers
70+
podman ps -a
71+
72+
# Remove the container if necessary
73+
podman rm <container_id> # Image - localhost/gcc:8
74+
```

0 commit comments

Comments
 (0)