Containers - IP Addresses - How to plan for # of IPs needed?

NEW to containers, so bear with me...

When trying to plan for IP allocation / # of IPs needed around Containers...Does each container have or need its own IP address,
or just the host it sits on (via Shared IP)?

I have 1 "host", and 6 containers (on that 1 host).
Do I then have/need 7 IPs (1 IP for the host, 6 IPs for the containers)?
Or is it manage in another way i.e. NAT or something?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SwapnilSoftware ArchitectCommented:
Container assigns IP over container host networking. To explain here I am taking example of Docker.

Docker has multiple networking option. Each container will allocate the IPs  by default from Docker bridge subnets. When Docker installs and setup it setup bridge networking with host OS. For reference please refer below diagram for understanding.

Docker Networking Diagram

To answer your questions
1. Do I then have/need 7 IPs (1 IP for the host, 6 IPs for the containers)?
It will assign 7 IPs (one IP for a container) however you can access or give access to those containers by mapping each container to its equivalent host port.  So you don't need to aquire 7 IP address except you have specific need.
2. Or is it manage in another way i.e. NAT or something?
It is managed via bridge network by default. You can manipulate with other networking option. Below are some networking options for Docker, as there is not specific container software mentioned in your question.
Docker Networking explained


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ITAddictAuthor Commented:
Thank you! This helps! Yeah, I was trying to keep it a bit generic...even though docker is pretty much the standard.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.