---
title:
source:
author: shenwei
published:
created:
description:
tags: [docker, it-tools]
---

#it-tools #docker 


``` yaml
version: '3.8'

services:
  it-tools:
    image: corentinth/it-tools:latest
    container_name: it-tools
    restart: unless-stopped
    # 交互模式配置
    stdin_open: true # 对应 -i
    tty: true        # 对应 -t
    ports:
      - "8999:80"
    # 资源限制（可选建议）
    deploy:
      resources:
        limits:
          memory: 128M
```