Skip to content

Instantly share code, notes, and snippets.

@JaysonHwang
Created December 6, 2022 16:12
Show Gist options
  • Save JaysonHwang/7cba7b3fed93d153bcfba2f8c1d578a4 to your computer and use it in GitHub Desktop.
Save JaysonHwang/7cba7b3fed93d153bcfba2f8c1d578a4 to your computer and use it in GitHub Desktop.
#docker run -d -p 8022:22 -p 3000:3000 -p 3001:3001 -p 3002:3002 -p 31500:31500 -p 31511:31511 -p 31512:31512 -p 8000:8000 -p 139:139 -p 145:145 --privileged -it --restart=always --name u_1 ubuntuok1
version: '3.3'
services:
ubuntuok1:
ports:
- '8022:22'
- '3000:3000'
- '3001:3001'
- '3002:3002'
- '31500:31500'
- '31511:31511'
- '31512:31512'
- '8000:8000'
- '139:139'
- '145:145'
privileged: true
restart: always
container_name: u_1
image: ubuntuok1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment