Z
Z
Zimaell2019-09-16 16:11:03
Docker
Zimaell, 2019-09-16 16:11:03

How to close public access to docker and put it on startup?

I run docker like this

docker run -d "CONNECTION_TIMEOUT=60000" -p 3000:3000 browserless/chrome

everything works fine, only now it is available at my_ip:3000 and anyone can go there, and secondly, after restarting the server, you need to start it again with this command...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2019-09-16
@Zimaell

1) -p 127.0.0.1:3000:3000 2) docker run -dit
--restart unless-stopped browserless/chrome

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question