#utk cek running/tidak
docker ps
#utk lihat image
docker images
#utk save
docker save [nama image] > [namafile.tar]
#utk load backup
docker load < [namafile.tar]
#utk masuk ke image
docker exec -it [namaimage] bash
#utk keluar
exit
#utk run oracle:
docker run --name myxedb \ -d \ -p 51521:1521 \ -p 55500:5500 \ -e ORACLE_PWD=mysecurepassword \ -e ORACLE_CHARACTERSET=AL32UTF8 \ oracle/database:18.4.0-xe
#utk stop oracle
docker stop myxedb
#utk remove
docker rm [namaimage]
#utk remove image
No comments:
Post a Comment