新增wiki命令文件
This commit is contained in:
32
raw/Home Office/🟠用Docker安装it-tools.md
Normal file
32
raw/Home Office/🟠用Docker安装it-tools.md
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
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
|
||||
```
|
||||
Reference in New Issue
Block a user