# Runlike - 도커 컨테이너 실행 명령 출력하기

> Clean Markdown view of GeekNews topic #8572. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=8572](https://news.hada.io/topic?id=8572)
- GeekNews Markdown: [https://news.hada.io/topic/8572.md](https://news.hada.io/topic/8572.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2023-02-27T10:47:01+09:00
- Updated: 2023-02-27T10:47:01+09:00
- Original source: [github.com/lavie](https://github.com/lavie/runlike)
- Points: 16
- Comments: 0

## Topic Body

- 동작중인 도커 컨테이너와 같은 것을 그대로 실행하기 위해 명령을 출력해주는 도구  
- 포트/링크/볼륨/환경변수 등 모든 명령을 그대로 출력해줌   
`$ runlike -p redis`  
 - -p 옵션 : 멀티라인 출력   
- 도커이미지로 패키징 되어 있어서 설치 안하고 실행 가능   
  - `docker run --rm -v /var/run/docker.sock:/var/run/docker.sock assaflavie/runlike YOUR-CONTAINER`

## Comments



_No public comments on this page._
