I
I
Igor2020-08-01 07:28:02
PHP
Igor, 2020-08-01 07:28:02

How to debug PHP in DockerMachine?

Colleagues, welcome.
How to debug php in docker remotely?

I created a docker machine on the server, I use the host of the remote machine as a driver.

docker-machine create --driver generic --generic-ip-address=45.95.35.138 --generic-ssh-user epsyteam --generic-ssh-key $HOME/.ssh/id_rsa vm --help


Prior to that, he worked locally, but then there were not enough resources, he decided to unload.
Now the question arose how to set up debugging.

Without problems, I set up debugging remotely, but not in a container.
I set up debugging without problems, in a container.

But how to debug a remote container now?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question