title: How to copy files from host to Docker container?
body: <p>I am trying to build a backup and restore solution for the Docker containers that we work with.</p>
  
  <p>I have Docker base image that I have created, <code>ubuntu:base</code>, and do not want have to rebuild it each time with a Docker file to add files to it.</p>
  
  <p>I want to create a script that runs from the host machine and creates a new container using the <code>ubuntu:base</code> Docker image and then copies files into that container.</p>
  
  <p>How can I copy files from the host to the container?</p>