A machine runs as a container is opened