Skip to content

Nheverest/docker-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Objective

Test the behaviour of the test_docker.sh script, which is suppose to display 'Running inside a Docker container' when run inside a Docker container.

Usage

  1. Build this test image and pass the base image name as a build argument. Examples:
    docker build --build-arg BASE_IMAGE=ubuntu:focal -t test_docker .
    docker build --build-arg BASE_IMAGE=ubuntu:xenial -t test_docker .
    docker build --build-arg BASE_IMAGE=amazon/aws-cli -t test_docker .
    docker build --build-arg BASE_IMAGE=awscli_v1 -t test_docker .
    docker build --build-arg BASE_IMAGE=python:3.9.24-trixie -t test_docker .
  1. Run the image

    docker run test_docker:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published