Skip to content

Docker context

Chun Cheng Yeh edited this page May 29, 2026 · 1 revision

Setup docker context to configure docker cli to use dockerbox as remote docker host.

dockerbox provides tcp and ssh to connect.

docker context create dockerbox --docker "host=tcp://10.0.0.1:2375"
docker context create dockerbox --docker "host=ssh://dockerbox@10.0.0.1"

It is recommended to disable password login and change to key based sign in for ssh. The default password is the same as username.

Use the newly created docker context.

docker context use dockerbox

Clone this wiki locally