Usage
cat > docker-compose.yml <<-'EOF'
# https://hub.docker.com/r/linuxserver/code-server
# Port: 8443
version: "3"
services:
code-server:
image: linuxserver/code-server
environment:
- UMASK=022
- PASSWORD=password #optional
- SUDO_PASSWORD=password #optional
ports:
- "8443:8443"
restart: always
volumes:
- ./code-server/config/:/config/
EOF
标签:compose,cat,code,Usage,docker,server
From: https://www.cnblogs.com/newhappy98/p/17367301.html