FAQs
- Zihni Artar
Docker
Yes, you can, but we recommend that you recreate the image.
The command to copy files or foldes into a container is:
docker cp <TARGET> <CONTAINER>:<SOURCE>
Example:
Copying a Plug-in-Folder My.Module.DoesSomething
into the Modules folder /app/Modules
:
docker cp My.Module.DoesSomething web:/app/Modules
web
ist the container name
docker cp <CONTAINER>:<SOURCE> <TARGET>
Example:
Copying the Content of the Plug-in-Folder /app/Modules
from the Container with the name web
to the Host-Directory ./Modules_From_Container
:
docker cp web:/app/Modules ./Modules_From_Container
docker exec <CONTAINER> rm -rf <YourFile>
Examples:
Delete manifest.json
file in Modules-Folder /My.Module.DoesSomething
:
docker exec web rm -rf /app/Modules/My.Module.DoesSomething/manifest.json
Delete wwwroot
folder in Modules-Folder /My.Module.DoesSomething
:
docker exec web rm -rf /app/Modules/My.Module.DoesSomething/wwwroot
If Smartstore is started together with MySQL or MS SQL as services, the container name or the service name can simply be used as the host name.
Otherwise, detailled information about the container can be read out with the command docker inspect <CONTAINER>
.
Example:
The MySQL container has the name mysql
.
The command
docker inspect mysql
returns the following information, beside others:
Themes
Updates