JasonYangShadow / lpmx

A novel composable rootless container system
Apache License 2.0
45 stars 6 forks source link

How to expose port in container? #31

Open dhtc opened 2 years ago

dhtc commented 2 years ago

Is your feature request related to a problem? Please describe. Nice job. And I want to know if you can add a feature that exposes ports of container like what docker do.

Describe the solution you'd like Maybe just like what docker do. Ex, use -p to specify a port, lpmx create -v /path:/path2 -p 8888 imageID or use -P to expose all ports of the container

JasonYangShadow commented 2 years ago

Is your feature request related to a problem? Please describe. Nice job. And I want to know if you can add a feature that exposes ports of container like what docker do.

Describe the solution you'd like Maybe just like what docker do. Ex, use -p to specify a port, lpmx create -v /path:/path2 -p 8888 imageID or use -P to expose all ports of the containe

sorry for late reply. Yes, I am also thinking to add this feature. I will update here when there is any progress.