Docker ip static with an existing container

Viewed 14

I have a problem with my docker container. I have a mongodb container that I can't stop, change ip or anything like that, but it's ip is not static and I have to set it static.

I tried creating a network with the same ip but it gives me this error: Error response from daemon: Pool overlaps with other one on this address space

Is there anyway I can set my ip static without stopping or changing my container ip or starting over?

0 Answers
Related