Skip to content

Commit

Permalink
Merge pull request #258 from h0tw1r3/fix-docker-cp
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 authored Feb 19, 2024
2 parents d3b25f4 + 986180d commit 9435bc4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tasks/docker_exp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def provision(docker_platform, inventory_location, vars)
'transport' => 'docker',
'docker' => {
'shell-command' => @shell_command,
'connect-timeout' => 120
}
},
'facts' => {
Expand All @@ -43,7 +42,7 @@ def provision(docker_platform, inventory_location, vars)
docker_run_opts += ' --cgroupns=host' unless docker_run_opts.include?('--cgroupns')
end

creation_command = 'docker run -d -it --privileged --tmpfs /tmp:exec '
creation_command = 'docker run -d -it --privileged '
creation_command += "#{docker_run_opts} " unless docker_run_opts.nil?
creation_command += docker_platform

Expand Down

0 comments on commit 9435bc4

Please sign in to comment.