Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neilkuan/cdk-containers-lab
https://github.com/neilkuan/cdk-containers-lab
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/neilkuan/cdk-containers-lab
- Owner: neilkuan
- License: apache-2.0
- Created: 2020-12-20T06:40:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-20T10:39:20.000Z (almost 4 years ago)
- Last Synced: 2024-10-06T10:11:20.506Z (about 1 month ago)
- Language: TypeScript
- Size: 114 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# my project
```bash
git clone https://github.com/guan840912/cdk-containers-lab.git
```# setting aws credentials
```bash
aws configure
```# install cdk dependency
```bash
cd cdk-containers-lab/
npx projen
```# To list stack
```bash
cdk ls
```# To deploy
```bash
cdk deploy
containerslab: deploying...
containerslab: creating CloudFormation changeset...
[██████████████████████████████████████████████████████████] (6/6)✅ containerslab
Outputs:
containerslab.labinstancePublicIp = x.x.x.x
containerslab.labinstanceinstanceId = i-01234567890qazwsx
```# To destroy
```bash
cdk destroy
```
# To debug
```bash
sudo journalctl -u cloud-init
```# Connect to ec2
```bash
aws ssm start-session --target [instance-Id]
```# Podman commnad example
```bash
$ podman pull docker.io/nginx$ podman run -d -p 80:80 docker.io/nginx
$ podman ps -a
```## see more containes oss projects
[skopeo](https://github.com/containers/skopeo)
[buildah](https://github.com/containers/buildah)
[podman](https://github.com/containers/podman)