Docker test write speed:
docker run --rm -it -v "$(PWD):/pwd" -w /pwd alpine time dd if=/dev/zero of=speedtest bs=1024 count=100000
Install:
yum search docker-engine
Start:
/etc/init.d/docker status
Install Shipyard on port 8088:
curl -sSL https://shipyard-project.com/deploy | PORT=8088 bash -s
SSH into docker image by name:
docker exec -i -t GitLab
Remove image:
docker rmi 174820a4cde462fad4fd17a6feed77fa90dad988f8d91511b0353df340372bae
Remove:
docker rm -f NAME
List running images:
docker ps -a
Docker shell
docker run -it nextcloud-dev /bin/bash
Import mysql
docker exec -i mysql-container mysql -uuser -ppassword name_db < data.sql