Docker - Production Patterns
Which command correctly backs up the Docker volume named
appdata to a tar archive appdata_backup.tar in the current directory?appdata to a tar archive appdata_backup.tar in the current directory?appdata is mounted to /data inside the container.$(pwd) is mounted to /backup to store the tar file.tar cvf /backup/appdata_backup.tar -C /data . creates a tar archive of the contents of /data (the volume) and saves it to /backup (host directory).15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions