If you not specify any network on a container Docker seems to use a bridged wish gives it a own virtual ip-address in a virtual network where all containers are in.
You can get the ip-address by using this command on the docker server:
docker inspect <container_id> | grep IPAddress
Reference: https://www.tutorialworks.com/container-networking/