DEV Community

Discussion on: 5-minute SSH proxy setup in a container environment

Collapse
 
pcornelissen profile image
Patrick Cornelißen

Creating snowflake Containers is even worse than creating snowflake servers.

Why didn't you create a dockerfile that does the job? :-)

Collapse
 
mastanggt profile image
Ivan Khramov

Hi, Patrick.
I just wanted to show the logic of launching it this way. Sure, you can write a dockerfile or use another image.
Maybe I'll do it later and share the dockerfile here.

Cheers,

Collapse
 
pcornelissen profile image
Patrick Cornelißen

The danger of these articles is that people with no or just a little docker knowledge will take this as a how-to and end up with getting the wrong impression. Of course what you wrote is not wrong and is OK to find out what needs to be done. But it's crucial that you script that knowledge in a dockerfile or script file afterwards. Otherwise you will end up doing the same over and over again and even worse maybe forget what needs to be done and you have to rediscover it again.