LoginSignup
1
1

More than 5 years have passed since last update.

OracleXEのDockerコンテナ起動(Mac)

Posted at
macOS 10.12.3 で実行したコードを記載しています。

Oracle XE Docker Image取得 & コンテナ起動

docker run -d -p 1521:1521 -p 10022:22 --name=oracle-xe wnameless/oracle-xe-11g

2回目以降の起動/停止

docker start oracle-xe
docker stop oracle-xe

DockerコンテナにSSH接続、SQLPLUS起動

ssh root@localhost -p 10022
sqlplus system/oracle
  • sshパスワードはadmin

DB 接続文字列

jdbc:oracle:thin:@localhost:1521:XE

参考

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1