Docker Community Forums

Share and learn in the Docker community.

Adding a file into a previously created docker image


(Anthony R. Colombo) #1

Hi.

So I made a docker image, created a container, and ran an instance. Within this instance, I ended up making changes to the container, and committed them into a new image. This image needed further changes, where I had to copy a new file. However, if I build it from scratch, I have to again re-run the container to download the files within the container which I had previously ran.

Is there a way I can copy files into a previously created image?