osrf / rocker

A tool to run docker containers with overlays and convenient options for things like GUIs etc.
Apache License 2.0
584 stars 75 forks source link

unable to map ports #176

Closed Linusnie closed 1 year ago

Linusnie commented 2 years ago

Hi, I find rocker very handy for mapping user privileges, enabling GUIs etc. But as far as I can tell port mapping (e.g. -p 5050:5050) doesn't work, so I have to switch back to regular docker in some situations.

Is it possible to do port mapping somehow with rocker? And if not could it be added to the interface?

jaron-l commented 2 years ago

Caveat: I've never used this package before nor know much about it but...

I believe you are looking for run arg mappings.

ErikKrauter commented 1 year ago

I have the same issue. Event after the PR #201. I cannot use -p or --port with rocker.

tfoote commented 1 year ago

@ErikKrauter Can you please provide a reproduction of your issue? #201 should have resolved this issue.

tfoote commented 1 year ago

This should be covered by #201 and OYR run arg mappings. @ErikKrauter if you are still having an issue please open a new issue with instructions for how to reproduce.