---
# System prepended metadata

title: APPLE SQL

---

# APPLE SQL

狀態 : 失敗 -測試失敗: IO 錯誤: Got minus one from a read call

* docker pull carloscastillo/rgt-oracle-xe-11g
* docker run -v /Users/ivy/Desktop/images:/app -h FITMATE --name FITMATE -d -p 50000:22 -p 50001:1521 -p 50002:8080 carloscastillo/rgt-oracle-xe-11g
* docker exec -it FITMATE /bin/bash
    * sqlplus system/oracle
    * create user FITMATE identified by FITMATE
    * GRANT ALL PRIVILEGES ON to FITMATE
* 將本機/Users/davidccc/Desktop/images 映射到container下的/app, 所以.sql中的路徑就用/app

有放新圖片進去的話就執行
* docker restart oracle2