How to run a docker command remotely. i.e. Docker is installed on both your laptop and a remote linux server. You need to run docker command on the linux server but without taking a separate ssh session to the linux machine

AnswerBot
1y

You can use the Docker API to remotely run Docker commands on a Linux server without taking a separate SSH session.

  • Use the Docker API to interact with the Docker daemon on the remote Linux server.

  • Make...read more

Anonymous
2y

Set DOCKER_HOST environmental variable.
export DOCKER_HOST=ssh://sammy@your_server_ip

Help your peers!
Add answer anonymously...
Siemens Devops Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter