diff --git a/README.md b/README.md index 2afdc1b..95c5ded 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,5 @@ The file share container creates a CIFS share for the Magento directory. ## Known issues -- `exec: "echo": executable file not found in $PATH`: see [Fig issue 514](https://github.com/docker/fig/issues/514). In short: don't restart the data container, you don't need to. (Just `fig up ` the particular service you need to restart.) - Speed: The CIFS share is a little slow. I tried to set up an NFS share, but couldn't get it working. Taking pull requests for faster shares. - Disappearing data: Don't panic - if you try something like `docker cp` or `docker export` on the _data_ container it will appear unchanged. The data is safe (in fact, the data is still on the host machine even if you delete the container, as long as you don't `docker rm -v` it.) Try something like `docker run --volumes-from magento_data_1 debian tar x /srv/magento > export.tar` to get a snapshot of your data. (Although it might be easier just to use the share.) diff --git a/data/Dockerfile b/data/Dockerfile index 490bb24..423bb3e 100644 --- a/data/Dockerfile +++ b/data/Dockerfile @@ -2,7 +2,11 @@ FROM scratch MAINTAINER Michael A. Smith COPY . / +# Hack for https://github.com/docker/fig/pull/517 +COPY true-asm /bin/echo VOLUME ["/srv/magento", "/var/lib/mysql"] -# From https://github.com/tianon/dockerfiles/tree/master/true -# All credit to them for the tiny executable -ENTRYPOINT ["/true-asm"] +# Executables this small +# Thanks to tianon +# Haiku by way of credit +# https://github.com/tianon/dockerfiles +ENTRYPOINT ["/sleeping-beauty"] diff --git a/data/sleeping-beauty b/data/sleeping-beauty new file mode 100755 index 0000000..c6592ae Binary files /dev/null and b/data/sleeping-beauty differ