Change Container IP from Within Running Container

I have a container that is running a piece of software that requires a user to have access to change the IP address. I’ve been searching to find a way to change the IP address of the container from within the container but only find ways to do this at the run command of the image. Is there a way to accomplish this?

This is running on an image built on Ubuntu 16.04.