2022-05-05
docker-compose-tip

Command

Read More

2021-04-15
docker_trouble_shooting

Reference

Read More

2020-12-07
docker_connect_https_fail

問題:在用 docker run 程式時,遇到無法連線 https 的問題,出現如下的 error

1
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/pycryptodome/

檢查的方式:curl -vv https://pypi.org

目前的解法

  • 用 ifconfig 確認 mtu 的值
  • 修改 docker config 的值,將 mtu 設定為跟網卡一樣
  • 這次遇到的 case,是將 mtu 設定為 1450

Reference

Read More

2020-11-10
run_remote_docker_daemon

最近需要用 python (using robot framework) 來操作 docker 的 start & stop,找了一段時間
找到可以用 docker python SDK,來操作 remote 的 docker daemon
茲加以記錄

Docker Python SDK

Connect to Remote Docker

Read More

2020-11-06
docker_beginner

Read More