Skip to content
HomeKnowledge BaseStatisticsChangelog GitHub Discord Email
commands / demyx cp

No results for ""

demyx cp

Usage

bash
demyx cp <app>

Description

Prints ready-to-use docker cp commands for copying files to and from an app's containers (MariaDB, Nginx, and WordPress). Useful when you need to transfer files without entering a container shell.

Example

bash
demyx cp domain.tld

Output:

text
# Copy TO WordPress container
docker cp /local/path domain_tld_wp:/remote/path

# Copy FROM WordPress container
docker cp domain_tld_wp:/remote/path /local/path

# Copy TO MariaDB container
docker cp /local/path domain_tld_db:/remote/path

# Copy TO Nginx container
docker cp /local/path domain_tld_nx:/remote/path
  • demyx exec — open a shell to move files interactively
  • demyx wp — use WP-CLI for WordPress-specific file operations