LedgerHQ / ledger-vscode-extension

A VS Code extension providing tools to accelerate development of apps for Ledger wallets.
Apache License 2.0
6 stars 3 forks source link

Bind container ports to host ports when spawing container #53

Open agrojean-ledger opened 1 month ago

agrojean-ledger commented 1 month ago

Bind container ports to host ports when running docker run to spawn container (by adding arguments such as --publish 5000:5000 ) to be able to control speculos from outside of the container when it is launched.

Care should be taken so that multiple containers can be spawned in parallel (such as when you have multiple folders in the workspace) : each container should bind to different ports, and speculos should be launched in the container with proper arguments as well to bind to these ports