sadservers icon indicating copy to clipboard operation
sadservers copied to clipboard

Scenario "Salta": too restrictive solution script

Open fduran opened this issue 1 year ago • 1 comments

tTe regex for checking the docker published port can be relaxed, as we don/t really care if the node app is not started on :8888, as long as the port is mapped correctly when executing "docker run".

fduran avatar Nov 16 '23 14:11 fduran

from @erjan it seems to me there is only 1 way it is solved, to do

sudo docker run -d -p 8880:8888 myapp

and actually myapp should be accepted as name, as long as only 1 container is running, but it seems it only accept the container named 'app'.

but the docker file has CMD['node', 'server.js'] - it still does not run as expected.

the only solution that works is if i run docker run -d app node server.js

fduran avatar May 16 '24 14:05 fduran