nextgenusfs / funannotate

Eukaryotic Genome Annotation Pipeline
http://funannotate.readthedocs.io
BSD 2-Clause "Simplified" License
322 stars 85 forks source link

Run latest docker failed about mysql problem. #214

Closed iwangtoknow closed 6 years ago

iwangtoknow commented 6 years ago

Are you using the latest release? If you are not using the latest release of funannotate, please upgrade, if bug persists then report here. Yes.

docker images
REPOSITORY                TAG                 IMAGE ID            CREATED             SIZE
funannotate               latest              ccafceb711bc        2 hours ago         15.2GB
busco                     latest              74ca66866f16        5 days ago          2.34GB
flye                      2.3.5               64acc6dcbffb        8 days ago          1.04GB
nextgenusfs/funannotate   latest              6dcdab871e87        11 days ago         8.62GB

Describe the bug A clear and concise description of what the bug is. Succeed in building latest docker but failed in running.

...
export FUNANNOTATE_DB=/home/linuxbrew/DB

Removing intermediate container 5f6a5f055b6d
 ---> cea4fd7a0127
Step 10/11 : WORKDIR /home/linuxbrew/data
Removing intermediate container 890177e2e80c
 ---> e5f22fc24191
Step 11/11 : ENTRYPOINT touch $(brew --prefix)/bin/mysql.server &&     sudo chown -R linuxbrew:linuxbrew $(brew --prefix)/bin/mysql $(brew --prefix)/bin/mysqld &&     sudo chmod 777 $(brew --prefix)/bin/mysqld &&     $(brew --prefix)/bin/mysql.server start &&     mysql -uroot -e "CREATE USER 'pasa1'@'localhost' IDENTIFIED BY 'pasa1';" &&     mysql -uroot -e "GRANT ALL PRIVILEGES ON * . * TO 'pasa1'@'localhost';" &&     mysql -uroot -e "FLUSH PRIVILEGES;" &&     /bin/bash
 ---> Running in 552f8053816e
Removing intermediate container 552f8053816e
 ---> ccafceb711bc
Successfully built ccafceb711bc
Successfully tagged funannotate:latest

What command did you issue? Copy/paste the command used. docker build -t funannotate -f Dockerfile . Logfiles Please provide relavent log files of the error.

docker run -it --rm -v /data1/wyq:/home/linuxbrew/data ccafceb711bc
chown: cannot access '/home/linuxbrew/.linuxbrew/bin/mysql': No such file or directory
chown: cannot access '/home/linuxbrew/.linuxbrew/bin/mysqld': No such file or directory

OS/Install Information

nextgenusfs commented 6 years ago

Sorry about that - I updated the docker-base (dropped mysql because no longer needed) but forgot to push the commit to update the other Docker build file. https://github.com/nextgenusfs/funannotate/commit/8d0e84f7a1d4af340fe9cb207b3902c0f55ebecd

iwangtoknow commented 6 years ago

Oh Jon~