https://github.com/freedomben/2048-docker
https://github.com/freedomben/2048-docker
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/freedomben/2048-docker
- Owner: FreedomBen
- Created: 2019-02-26T22:30:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-08T21:42:29.000Z (over 5 years ago)
- Last Synced: 2025-04-22T22:00:48.331Z (about 1 year ago)
- Language: C
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dockerized 2048!
Containerized version of https://github.com/mevdschee/2048.c
This source corresponds with Ben Porter's "Intro to Containers" presentation. It is not currently available on YouTube, but when it is a link will be provided here.
These examples use Podman, but you can `s/podman/docker/g` and it should all work just fine. The original presentation was developed with docker but moved to podman.
## Build
```sh
podman build -t freedomben/2048 .
```
## Run
```sh
podman run --rm -it freedomben/2048
```
## Push
```sh
podman push freedomben/2048
```
## Building and Running an iteration
```sh
cd iterations
podman build -t freedomben/2048 -f Dockerfile. . \
&& podman run --rm -it freedomben/2048
```