# vi ~/.bashrcalias dps='sudo docker ps --format "table {{.ID}}\t{{.Names}}\t{{.Image}}\t{{.State}}\t{{.Status}}\t{{.RunningFor}}\t{{.Size}}"'source ~/.bashrc Before[darksharavim]docker ps -aCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ..
version: "3.9"services: api: image: localai/localai:v2.11.0-aio-cpu healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/readyz"] interval: 1m timeout: 20m retries: 5 ports: - 8080:8080 environment: - DEBUG=true volumes: - ./models:/build/models:cached
docker-composeversion: "3"services: wireguard: image: linuxserver/wireguard container_name: wireguard cap_add: - NET_ADMIN - SYS_MODULE environment: - PUID=1001 - PGID=1001 - TZ=Asis/Seoul - SERVERPORT=51820 #optional - PEERS=10 #optional - PEERDNS=auto #optional volumes: - ./config:/config - /lib/modules:/lib/modules ports: ..
도커컴포즈version: '3'services: portainer: image : 'portainer/portainer-ce:latest' container_name: portainer volumes: - '/var/run/docker.sock:/var/run/docker.sock' - '~/docker/portainer/volume/data:/data' ports: - '9000:9000'networks: default: external: name: 'npm'
NPM용 네트워크 추가ubuntu@ddogan:~$ sudo docker network create npm0fe46e3889d4abba852c068c44e07f93654d05b1f7f65374c8d80a178c8f6a4e ubuntu@ddogan:~$ sudo docker network listNETWORK ID NAME DRIVER SCOPE8aaad9802621 bridge bridge local361243cade04 host host locale6191dc0c61a none null local0fe46e3889d4 npm bridge local 도커 컴포즈 실행version: '3'service..