Core concepts
Files and volumes
Files can be copied into the container before startup, or can be copied from the container after the container has started.
Copying files
Files can be copied into the container before startup, or can be copied from the container after the container has started.
Note This is the recommended approach for portability cross-docker environments.
Copying to a container before startup
Copying files using MountableFile inside_block:copyToContainer
Using Transferable, file content will be placed in the specified location.
Copying files using Transferable inside_block:transferableFile
Setting file mode is also possible.
Copying files using Transferable with file mode inside_block:transferableWithFileMode
Copying a file from a running container
Copying files from a container inside_block:copyFileFromContainer
