# Static IP on Docker containers

**URL:** <https://forums.docker.com/t/static-ip-on-docker-containers/110412>\
**Category:** Docker Hub\
**Created:** [June 8, 2021, 8:40pm UTC](https://forums.docker.com/t/static-ip-on-docker-containers/110412 "2021-06-08T20:40:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![xzoursx](https://avatars.discourse-cdn.com/v4/letter/x/7ab992/32.png) [@xzoursx](https://forums.docker.com/u/xzoursx)\
**Post date:** [June 10, 2021, 9:14pm UTC](https://forums.docker.com/t/static-ip-on-docker-containers/110412/3 "2021-06-10T21:14:07Z")

</div>

Thank you for your reply.

The problem of using SSH is that my docker images are already in use with environment variables.

What is the solution ?

Do I have to make a docker composed of each docker with environment variables and then add the notion of static ip?

Thanks

---

_[View the full topic](https://forums.docker.com/t/static-ip-on-docker-containers/110412)._
