:(:(
This commit is contained in:
6
harden
6
harden
@@ -338,9 +338,7 @@ EOF
|
|||||||
"path": "/home/secdep/bin/runsc",
|
"path": "/home/secdep/bin/runsc",
|
||||||
"runtimeArgs": [
|
"runtimeArgs": [
|
||||||
"--network=host",
|
"--network=host",
|
||||||
"--ignore-cgroups=true",
|
"--ignore-cgroups=true"
|
||||||
"--overlay2 all:memory",
|
|
||||||
"--rootless"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -502,7 +500,7 @@ function main {
|
|||||||
printf "%s" "Fail2ban configured"
|
printf "%s" "Fail2ban configured"
|
||||||
# Call the dockerInit function with the arguments passed to the script
|
# Call the dockerInit function with the arguments passed to the script
|
||||||
dockerInit "$@" || exit 1 # Initialize docker and exit if it fails
|
dockerInit "$@" || exit 1 # Initialize docker and exit if it fails
|
||||||
printf "%s" "Docker Rootless, docker-compose and gVisor installed"
|
printf "%s" "Docker Rootless, docker-compose and gVisor installed and configured"
|
||||||
printf "%s" "Portainer along with any specified docker images from the command line or a docker-compose.yml file installed"
|
printf "%s" "Portainer along with any specified docker images from the command line or a docker-compose.yml file installed"
|
||||||
enableServices || exit 1 # Enable the services that need to be restarted and the firewall
|
enableServices || exit 1 # Enable the services that need to be restarted and the firewall
|
||||||
printf "%s" "Services restarted and firewall enabled"
|
printf "%s" "Services restarted and firewall enabled"
|
||||||
|
|||||||
Reference in New Issue
Block a user