The MariaDB/Percona instance should be able to import an arbitrarily large DB dump file successfully.
The MariaDB/Percona import hangs, taking the container and all communications with Docker down with them.
Starting a MariaDB or Percona container with:
docker run --name mariadb
Then trying to import a compressed SQL file into it via:
pv content.sql.gz | gunzip | mysql -h 127.0.0.1 -u -p
The content.sql.gz file is about 500mb (compressed) and represents a large, but not enormous DB. At some point during the import process everything hangs (I’ve reproduced several times, it hangs at different % points on different runs):
101MiB 0:11:17 [ 0 B/s] [==============> ] 20% ETA 0:45:04
docker ps/logs etc all fail to return. Stopping Docker and restarting it restore the Docker environment, but the container remains fubar.
% pinata diagnose -u
OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.11.1-beta12
Running diagnostic tests:
[OK] Moby booted
Error echo “00000003.0000f3a6” | nc -U /Users/alex/Library/Containers/com.docker.docker/Data/@connect > /tmp/20160523-161224/diagnostics.tar: timeout after 30.00s
Docker logs are being collected into /tmp/20160523-161224.tar.gz
Most specific failure is: No error was detected
Your unique id is: 5C53FB17-8701-469B-9FBE-A1B54CC56DC5
Please quote this in all correspondence.
Steps to reproduce the behavior