0

I would like to know if it's possible to create a kind of communication between two docker container.

I've two docker containers, one for Firefox and another one for vscode. I'm looking for a solution to be able to open URL link from vscode in my running Firefox container(create a new tab as we have when we are selecting a link).

Don't know if it's possible to do that. Maybe by sharing some specific resource.

Thanks

2
  • Is this what you were looking for ???stackoverflow.com/questions/44275794/… Commented Mar 19, 2019 at 12:17
  • Using the docker-compose.yaml file and depends_on Commented Mar 19, 2019 at 12:47

1 Answer 1

1

I am not sure about the possibility but there are two scenarios:

  1. Either you find a way/extension to make vscode call a browser over network
  2. Mount the needed files/binaries as a volume from firefox container to vscode container to make it able call the firefox binary locally as usual in order to make it able to open the browser (not tested but might be done somehow) but it might not be able to open in the same session, so give it a try and let me know so i can update the answer.
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.