Skip to content
Ricky
Chinese

搜尋

Searching… No matching pages. Matching pages are listed below. Search is unavailable. Please try again.

Docker

All posts

問題 # ./docker-compose up -d Creating network "gogs_default" with the default driver Creating gogs_mysql_1 ... done Creating gogs_gogs_1 ... error ERROR: for gogs_gogs_1 Cannot create container for service gogs: …

1 分鐘

Docker 小技巧:使用 Docker Config FROM nginx:1.13.6 COPY nginx.conf /etc/nginx/nginx.conf 使用 Docker CLI,可以從這個設定檔建立一個 config,並將它命名為 proxy。 $ docker config create proxy nginx.conf mdcfnxud53ve6jgcgjkhflg0s $ docker …

1 分鐘

使用 docker-compose 部署到遠端 Docker 主機 手動部署:複製專案檔案、安裝 docker-compose 並執行 $ scp -r hello-docker user@remotehost:/path/to/src $ ssh user@remotehost $ pip install docker-compose $ cd /path/to/src/hello-docker $ …

1 分鐘