-1

I am using Docker with Kitematic and I have installed an image of Linux with Magento 2 on it.

It all works well, but Magento 2 requires that I run terminal commands for several things. How do I do this?

I know where the terminal is and there's Docker CLU, but when I go to the actual Magento directory, there's only the app but no bin/magento? So how does this work, or, in other words, where do I run the root commands from?

Filip Dupanović
  • 32,650
  • 13
  • 84
  • 114

1 Answers1

1

This has already been asked and answered. Just run

docker exec -it <container_id_or_name> /bin/bash

Check the link below.

How do I run a command on an already existing Docker container?

Community
  • 1
  • 1
Jacob
  • 407
  • 5
  • 8