Closed nvnamsss closed 4 years ago
An image could deal with many use cases depend on the purpose and how we config it.
Now config is setting in the build phase, it means config will be added to image then run into a container instead of adding to the container.
image
Solved by using docker cp $fileinhost $container:$fileindocker to copy config file which is setup by the user in host to the container which out rebuild
docker cp $fileinhost $container:$fileindocker
Reference:
An image could deal with many use cases depend on the purpose and how we config it.
Now config is setting in the build phase, it means config will be added to
image
then run into a container instead of adding to the container.