Ansible docker module missing CP command? -


the docker client offers cp sub-command explained here, handy when 1 needs copy file container (note: analogous dockerfile add instruction in image building). in docker 1.8 cp command has been expanded bit.

however, reading ansible docker module documentation, appears missing? here 2 questions:

  1. did misunderstand ansible documentation?
  2. if ansible missing cp thing, has found workaround? can think of using ansible copy module transport files remote machine first, , run there native docker client cp, ideally ansible's docker module have done in single shot part of docker module?

thanks in advance.

you can use synchronize command ~ examples provided in link:

http://opensolitude.com/2015/05/26/building-docker-images-with-ansible.html


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -