Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container public port unexpected behavior. #168

Closed
somediego opened this issue Dec 4, 2024 · 2 comments
Closed

Container public port unexpected behavior. #168

somediego opened this issue Dec 4, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@somediego
Copy link

somediego commented Dec 4, 2024

Netbox version Plugin Version Agent version Docker API Version
4.1.6 v3.1.0(I believe) 1.5.5 1.47

Actual Behavior

Hello,

When a container has no public port and shows as in the picture.

public port:0
private port: 3456

test
After push recreate, it will give to the image a random public port.
And even if I write back external port with value '0', and recreate again, it will always have an external port.

Desired Behavior

I would love to click recreate, and no port changes without reason.

Nice to have

I would love to remove public exposure of port if possible, now it does work now. recreate always expose.

@lvenier
Copy link
Collaborator

lvenier commented Dec 16, 2024

@fanshan
Copy link
Collaborator

fanshan commented Dec 16, 2024

Fixed by SaaShup/netbox-docker-agent#168

@fanshan fanshan closed this as completed Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants