docs/features/files.md
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 files using MountableFile inside_block:copyToContainer
<!--/codeinclude-->Using Transferable, file content will be placed in the specified location.
Copying files using Transferable inside_block:transferableFile
<!--/codeinclude-->Setting file mode is also possible.
<!--codeinclude-->Copying files using Transferable with file mode inside_block:transferableWithFileMode
<!--/codeinclude-->Copying files from a container inside_block:copyFileFromContainer
<!--/codeinclude-->