Assign a specific IP for a container within the given ip range

Want to know how can we assign a specific IP for a container within the given ip range,
so that the container doesn’t use DHCP .