通过以下方案:
curl -fsSL https://get.docker.com | bash -s docker —mirror Aliyun
sudo systemctl start docker
sudo sytstemctl enable docker
docker run -dt —name ss2024 —restart=always -p 8080:8080 docker.io/mritd/shadowsocks:3.3.2 -s “-s 0.0.0.0 -p 8080 -m aes-128-gcm -k YourPassWord”

sudo curl -L “https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

git clone https://github.com/Laradock/laradock.git
cp .env.example .env
sudo docker-compose up -d nginx mysql redis workspace php-fpm

分类: web

标签: