hi,
I have problem with my docker containter. I want to setup port forwarding from container to host - the port must be fixed.
I changed value in qnap.json config i I see the value of port forwarding in container settings. But after I started the container the port of the host is changing to random one (allways port numer rises +1)
Maybe I should clear the cache of Container Station?
Set port forwarding to existing Docker container
-
- New here
- Posts: 2
- Joined: Wed Sep 14, 2016 3:54 am
Set port forwarding to existing Docker container
You do not have the required permissions to view the files attached to this post.
-
- Know my way around
- Posts: 164
- Joined: Mon Feb 08, 2016 9:45 am
Re: Set port forwarding to existing Docker container
I had a similar problem as well.
In order to fix the ports, i had to export the container, then reimport it again.
During the import phase, you can define the ports and it will be fixed.
In order to fix the ports, i had to export the container, then reimport it again.
During the import phase, you can define the ports and it will be fixed.
TS451
TS453
TVS-682
TS453
TVS-682
-
- Starting out
- Posts: 18
- Joined: Sun May 31, 2015 2:18 am
Re: Set port forwarding to existing Docker container
Thanks for the hint!
Works!
Regards,
P.
Works!
Regards,
P.
-------------------
TVS-473 (3x6TB Seagate IronWolf) (24GB RAM)
TVS-473 (3x6TB Seagate IronWolf) (24GB RAM)