adilsonrapozojr
2/11/2019 - 4:14 PM

Db2 docker

docker pull store/ibmcorp/db2_developer_c:11.1.4.4-x86_64

docker run -h db2server_ --name db2server --restart=always -d --privileged=true -p 50000:50000 -p 55000:55000 --env-file db2.env_list -v /home/adilson/everis/santander/projetos/meu-banco:/database image-id

docker exec -ti db2server bash -c "su - ${DB2INSTANCE}"