https://github.com/sameetasadullah/running-file-on-docker
Practice of running a C++ file using docker
https://github.com/sameetasadullah/running-file-on-docker
cpp docker docker-container docker-image dockerfile
Last synced: 26 days ago
JSON representation
Practice of running a C++ file using docker
- Host: GitHub
- URL: https://github.com/sameetasadullah/running-file-on-docker
- Owner: SameetAsadullah
- License: mit
- Created: 2022-08-14T21:55:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-14T22:00:47.000Z (over 3 years ago)
- Last Synced: 2025-01-21T17:51:05.687Z (about 1 year ago)
- Topics: cpp, docker, docker-container, docker-image, dockerfile
- Language: C++
- Homepage:
- Size: 283 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Running File on Docker
### Description
Practice of running a `C++ File` using `Docker`.
### Manual
1) Make folder of any name in C:/Users/Your-Username/.docker.
2) Paste provided .cpp file and Dockerfile in that folder.
3) Open windows powershell/command prompt in that folder and run the following commands
```
docker build -t sameetasadullah/i180479:latest .
```
```
docker run sameetasadullah/i180479
```
```
docker login
```
```
docker push sameetasadullah/i180479
```
### Working Screenshots