3

how can I run a command via docker machine? it's possible? while automating the creation of servers I want to run the installation of some software on the hosts.

1
  • The only way I can think of is to map a volume from your docker container to your host and run the installation script in the shared volume with host so you get what you installed on the host. Commented Sep 15, 2016 at 12:12

1 Answer 1

5

You can run custom commands on your machines using command docker-machine ssh <machine name> <command>.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.