You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.
I have successfully provisioned docker image. But I was unable to run the docker image as it is resulting in a hung. Could anyone help me on this.
require 'chef/provisioning/docker_driver'
with_driver 'docker'
machine_image 'docker_miracle_chef' do
recipe 'docker_cookbook'
recipe 'java'
recipe 'apache_latest'
machine_options(
:docker_options => {
:base_image => {
:name => 'ubuntu',
:repository => 'ubuntu',
:tag => '14.04'
}
}
)
end
machine 'docker_miracle_chef' do
from_image 'docker_miracle_chef'
machine_options(
:docker_options => {
:ports => "80:80"
}
)
docker_connection: {
read_timeout: 72
}
end
I am trying to run docker image as docker run -it docker_miracle_chef
The text was updated successfully, but these errors were encountered: