Hey @Liana, Including the docker_dir parameter is equivalent to running the docker build -t ubuntu /tmp/ubuntu_image command.
To add or build an image from a dockerfile that includes the docker_dir parameter, add the following code to the manifest file:
docker::image { 'ubuntu':
docker_dir => '/tmp/ubuntu_image'
}
This should do the same!