I'm using the official docker image from
Docker Hub where it asks for the parameter --privileged=True in the quick start guide:
docker run -itd --name mydb2 --privileged=true -p 50000:50000 -e LICENSE=accept -e DB2INST1_PASSWORD=<choose an instance password> -e DBNAME=testdb -v <db storage dir>:/database ibmcom/db2
Is there any way NOT using privileged mode? Since I tried without it but the db2 container doesn't accept TCP connections anymore.
I'm curious if such privileged mode is necessary since I plan to use this image for CI purpose for a number of open source repos where CI solution like GitHub Actions doesn't support running service container under privileged mode. for example:
How to run privileged docker container
Github |
remove preview |
|
How to run privileged docker container |
Hey, I'm working on a Github Action that builds Flatpak bundles for each application that has a flatpak manifest. So far, it works but: - In order to run flatpak-builder I need to run my docker container with --cap-add SYS_ADMIN --cap-add NET_ADMIN --device /dev/fuse Is there a possible way to do ... |
View this on Github > |
|
|
#Db2