Floating IP
A floating IP or also called FIP, is a public accessible IP address that can be attached to one container. A Floating IP can also be remapped to other containers in the same region, and can be used this way to switch between different deployments.
You need to allocate new free IPs before assigning them to containers:
To detach a floating IP from a container:
If you want to move the floating ip from one container to another, you must first detach it from the old container and then attach it again like this:
Deleting Floating IP
When you rm
a container, the floating IP will be automatically detached.
You can also release the ip if there is no container attached:
NOTE: floating IP is priced at a monthly rate. When an IP is allocated, you will be charged for that current month.
Stop and restart containers
When a container is stopped or restarted, the floating IP (if any) is still attached with the container, which means that when you (re)start the container, you don't need to attach the floating IP again.
Last updated