m-elewa / freelancers-market

Laravel Project to help freelance websites clients and freelancers to find each other.
MIT License
66 stars 52 forks source link

Getting the above Issue while Installing It #13

Open mohitjain2007 opened 4 years ago

mohitjain2007 commented 4 years ago

Recreating 86a5cde800d5_laradock_traefik_1 ... error /laradock/mysql/docker-entrypoint-initdb.d': mkdir /var/www: read-only file system

ERROR: for d9fda5d48f4b_laradock_docker-in-docker_1 Cannot start service docker-in-docker: error while creating mount source path '/var/www/hRecreating 0a0ae4464a6f_laradock_ide-theia_1 ... error

ERROR: for 86a5cde800d5_laradock_traefik_1 Cannot start service traefik: error while creating mount source path '/var/www/html/freelancers-market/laradock/traefik/data': mkdir /var/www: read-only file system

ERROR: for 0a0ae4464a6f_laradock_ide-theia_1 Cannot start service ide-theia: error while creating mount source path '/var/www/html/freelancerRecreating laradock_laravel-echo-server_1 ... error

ERROR: for laradock_laravel-echo-server_1 Cannot start service laravel-echo-server: error while creating mount source path '/var/www/html/freelancers-market/laradock/laravel-echo-server/laravel-echo-server.json': mkdir /var/www: read-only file system

ERROR: for mysql Cannot start service mysql: error while creating mount source path '/var/www/html/freelancers-market/laradock/mysql/docker-entrypoint-initdb.d': mkdir /var/www: read-only file system

ERROR: for docker-in-docker Cannot start service docker-in-docker: error while creating mount source path '/var/www/html/freelancers-market': mkdir /var/www: read-only file system

ERROR: for traefik Cannot start service traefik: error while creating mount source path '/var/www/html/freelancers-market/laradock/traefik/data': mkdir /var/www: read-only file system

ERROR: for ide-theia Cannot start service ide-theia: error while creating mount source path '/var/www/html/freelancers-market': mkdir /var/www: read-only file system

ERROR: for laravel-echo-server Cannot start service laravel-echo-server: error while creating mount source path '/var/www/html/freelancers-market/laradock/laravel-echo-server/laravel-echo-server.json': mkdir /var/www: read-only file system

m-elewa commented 4 years ago

@mohitjain2007 please make sure you have these specs in your system

OS: ubuntu 18.04
storage: 20gb or more
ram: 2gb or more

also, make sure that you followed these steps to install Docker

sudo apt update && sudo apt -y upgrade
sudo apt install make -y

sudo add-apt-repository ppa:git-core/ppa -y

sudo apt-get -y install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common \
docker-compose \
virtualbox

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"

sudo apt-get -y install docker-ce docker-ce-cli containerd.io

sudo usermod -aG docker ${USER}