✳️ Replace the highlighted information with your own
sudo apt install -y curl git net-tools -y
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER
### daemon.json
{
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "3"
}
}
### PORTAINER
version: "3.8"
services:
portainer:
image: portainer/portainer-ce:latest
container_name: portainer
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- "9000:9000"
- "9443:9443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/data
environment:
- TZ=Asia/Ho_Chi_Minh
networks:
- docker_net
networks:
docker_net:
driver: bridge
Read more
- How to Fix the Pairing Required Error in OpenClaw with Docker
- How to Boost Your Raspberry Pi Performance by Booting from USB or External Drive
- Fix the ‘Device Signature Expired’ Error in OpenClaw
- How to Access the OpenClaw Dashboard from ANYWHERE
- Enable Windows Subsystem for Linux (WSL) on Windows
- Banana Pi M2 Zero: A Compact Powerhouse for Your Projects
- Installing OpenClaw on Ubuntu Linux
- Top 10 Linux Server Management Tools for Efficient Administration
- How to Create Your OpenAI API Key: A Step-by-Step Guide
- Guide to Installing n8n Server on Ubuntu Using Docker