https://github.com/yshplsngh/docker-image
Building docker image and Run docker container
https://github.com/yshplsngh/docker-image
docker docker-compose
Last synced: 2 months ago
JSON representation
Building docker image and Run docker container
- Host: GitHub
- URL: https://github.com/yshplsngh/docker-image
- Owner: yshplsngh
- License: mit
- Created: 2024-03-21T18:51:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-14T09:15:47.000Z (almost 2 years ago)
- Last Synced: 2024-12-31T15:35:21.149Z (over 1 year ago)
- Topics: docker, docker-compose
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Simple node.js app with docker
### Helpful commands
To create Docker Image
```
docker build -t testApp .
```
To run Docker Image
```
docker run -p 4000:4000 testApp
```
To run Docker Image Container in BackGround
```
docker run -d -p 4000:4000 testApp
```
To see All Running Container
```
docker ps
```
To see All docker Image in your Local Machine
```
docker images
```
To Kill specific docker Container
```
#docker kill
docker kill 71de81055cc6
```