Logs in to a container