Skip to content

masalinas/poc-docker-remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Description

PoC execute docker commands on a remote Docker Host from CLI

Create a remote docker host

First we must proxy the Docker API to be access on remote mode

Install this container to offer our docker host API in remote mode:

docker run --name docker-remote-api -d -p 2375:2375 -v /var/run/docker.sock:/var/run/docker.sock jarkt/docker-remote-api

Execute any command from CLI to Remote host

Execute any docker command. For example see all containers running in our remote docker host:

docker -H=<REMOTE_DOCKER_IP:2375> ps

Some reference links

Run commands on remote Docker host

About

PoC Connect to a remote Docker Host from CLI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published