docker import export with oracle 9
## import oracle docker
root@gnoti04-dreamsys:~# docker import --change 'CMD ["/entrypoint.sh"]' /home/gnoti04/db.tar oracle
sha256:a058aeb177da995d0a2b2c386390ae2ea891fb0e492c8c064dd30be8ed04434b
root@gnoti04-dreamsys:~# docker run -d -p 49161:1521 oracle
18e5f71c47e32cd0b388a288d1e3406580d24d8480706c336aead6cd7d37ae9f
root@gnoti04-dreamsys:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
18e5f71c47e3 oracle "/entrypoint.sh" 4 seconds ago Up 3 seconds 0.0.0.0:49161->1521/tcp vigilant_swanson
bc60a61e3088 gitlab/gitlab-ce:12.2.7-ce.0 "/assets/wrapper" 3 minutes ago Exited (0) 2 seconds ago gitlab
root@gnoti04-dreamsys:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
18e5f71c47e3 oracle "/entrypoint.sh" 46 seconds ago Up 44 seconds 0.0.0.0:49161->1521/tcp vigilant_swanson
root@gnoti04-dreamsys:~# systemctl stop firewalld
Failed to stop firewalld.service: Unit firewalld.service not loaded.
root@gnoti04-dreamsys:~# ufw disable
방화벽이 비활성 되었으며 시스템이 시작할 때 사용되지 않습니다
root@gnoti04-dreamsys:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
18e5f71c47e3 oracle "/entrypoint.sh" 2 minutes ago Up 2 minutes 0.0.0.0:49161->1521/tcp vigilant_swanson
root@gnoti04-dreamsys:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2cdd61cc2e87 gitlab/gitlab-ce:12.2.5-ce.0 "/assets/wrapper" 59 seconds ago Up 58 seconds (health: starting) 443/tcp, 0.0.0.0:6015->22/tcp, 0.0.0.0:8897->80/tcp gitlab
18e5f71c47e3 oracle "/entrypoint.sh" 14 minutes ago Up 14 minutes 0.0.0.0:49161->1521/tcp vigilant_swanson
댓글
댓글 쓰기