Created
December 23, 2021 06:18
-
-
Save theraw/6fc2531c41357159f53e4886255e062a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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