Skip to content

Instantly share code, notes, and snippets.

@theraw
Created December 23, 2021 06:18
Show Gist options
  • Save theraw/6fc2531c41357159f53e4886255e062a to your computer and use it in GitHub Desktop.
Save theraw/6fc2531c41357159f53e4886255e062a to your computer and use it in GitHub Desktop.
export HOST=192.168.0.14
export USER=docker
ssh-copy-id $USER@$HOST
docker context create \
--docker host=ssh://docker@$HOST \
--description="Remote engine" \
vbox
docker context use vbox
docker info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment