Skip to content

Commit

Permalink
init repo
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmordasiewicz committed May 30, 2024
1 parent c47587c commit 598be5c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
11 changes: 5 additions & 6 deletions src/devcontainer/NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ mkdir .devcontainer

```json
{
"name": "devops-toolkit",
"image": "ghcr.io/robinmordasiewicz/devcontainer:latest",
"initializeCommand": "docker pull ghcr.io/robinmordasiewicz/devcontainer:latest",
"runArgs": ["--name=devcontainer", "--hostname=devcontainer"]
"name": "devcontainer",
"image": "ghcr.io/amerintlxperts2024/devcontainer:latest",
"initializeCommand": "docker pull ghcr.io/amerintlxperts2024/devcontainer:latest"
}
```

Expand Down Expand Up @@ -109,12 +108,12 @@ You find the setting Use containerd for pulling and storing images in Docker Des
[Docker Desktop Mac](./docker-desktop-settings.png)

```bash
devcontainer build --workspace-folder . --platform linux/arm64,linux/amd64 --image-name ghcr.io/robinmordasiewicz/devcontainer:latest --output type=docker --no-cache true
devcontainer build --workspace-folder . --platform linux/arm64,linux/amd64 --image-name ghcr.io/amerintlxperts2024/devcontainer:latest --output type=docker --no-cache true
```

### Authenticate to your container registry github/docker/azure and push the image

```bash
docker login
docker push ghcr.io/robinmordasiewicz/devcontainer:latest
docker push ghcr.io/amerintlxperts2024/devcontainer:latest
```
11 changes: 5 additions & 6 deletions src/devcontainer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ mkdir .devcontainer

```json
{
"name": "devops-toolkit",
"image": "ghcr.io/robinmordasiewicz/devcontainer:latest",
"initializeCommand": "docker pull ghcr.io/robinmordasiewicz/devcontainer:latest",
"runArgs": ["--name=devcontainer", "--hostname=devcontainer"]
"name": "devopscontainer",
"image": "ghcr.io/amerintlxperts2024/devcontainer:latest",
"initializeCommand": "docker pull ghcr.io/amerintlxperts2024/devcontainer:latest"
}
```

Expand Down Expand Up @@ -120,14 +119,14 @@ You find the setting Use containerd for pulling and storing images in Docker Des
[Docker Desktop Mac](./docker-desktop-settings.png)

```bash
devcontainer build --workspace-folder . --platform linux/arm64,linux/amd64 --image-name ghcr.io/robinmordasiewicz/devcontainer:latest --output type=docker --no-cache true
devcontainer build --workspace-folder . --platform linux/arm64,linux/amd64 --image-name ghcr.io/amerintlxperts2024/devcontainer:latest --output type=docker --no-cache true
```

### Authenticate to your container registry github/docker/azure and push the image

```bash
docker login
docker push ghcr.io/robinmordasiewicz/devcontainer:latest
docker push ghcr.io/amerintlxperts2024/devcontainer:latest
```


Expand Down

0 comments on commit 598be5c

Please sign in to comment.