Skip to content

This repo contains a wrapper to run a container but before ensure the image has been deleted

Notifications You must be signed in to change notification settings

cohandv/docker-launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-launcher

This repo contains a wrapper to run a container but before ensure the image has been deleted

Building the container

docker build -t docker-launcher:latest .

Running this container

docker run -v ~/.aws:/root/.aws -v /var/run/docker.sock:/var/run/docker.sock docker-launcher:latest <>

#Map docker credentials (requires previous login) Add the following argument to the container: ~/.docker:/root/.docker

#Map aws credentials -v ~/.aws:/root/.aws

Full Example: docker run -v ~/.docker:/root/.docker -v ~/.aws:/root/.aws -v /var/run/docker.sock:/var/run/docker.sock docker-launcher:4 run 736692106039.dkr.ecr.us-east-1.amazonaws.com/reporting-attribution:custom_latest

About

This repo contains a wrapper to run a container but before ensure the image has been deleted

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published