DB2: Running DB2 as Container: Difference between revisions
(Created page with "= Running DB2 as Container = Create db2data directory # mkdir -p /opt/db2data Pull images podman pull icr.io/db2_community/db2 Running Db2 podman run -d --name mydb2 --privileged=true -p 50000:50000 -e LICENSE=accept -e DB2INST1_PASSWORD=db2inst1 -v /opt/db2data:/database db2_community/db2 Cheking Logs podman logs -f mydb2 == Ver também == * DB2: Criando usuários adicionais para o DB2 * DB2: Unix_Linux Startup Script * DB2: Comandos Uteis *...") |
No edit summary |
||
Line 12: | Line 12: | ||
Running Db2 | Running Db2 | ||
podman run -d --name mydb2 --privileged=true -p 50000:50000 -e LICENSE=accept -e DB2INST1_PASSWORD=db2inst1 -v /opt/db2data:/database db2_community/db2 | podman run -d --name mydb2 --privileged=true -p 50000:50000 -e LICENSE=accept -e DB2INST1_PASSWORD=db2inst1 \ | ||
-v /opt/db2data:/database db2_community/db2 | |||
Latest revision as of 12:39, 10 October 2023
Running DB2 as Container
Create db2data directory
# mkdir -p /opt/db2data
Pull images
podman pull icr.io/db2_community/db2
Running Db2
podman run -d --name mydb2 --privileged=true -p 50000:50000 -e LICENSE=accept -e DB2INST1_PASSWORD=db2inst1 \ -v /opt/db2data:/database db2_community/db2
Cheking Logs
podman logs -f mydb2
Ver também
- DB2: Criando usuários adicionais para o DB2
- DB2: Unix_Linux Startup Script
- DB2: Comandos Uteis
- DB2: Comandos Database
- DB2: Comandos Start e Stop