Skip to content

Keep an Ubuntu container open indefinitely and enter it in order to dev or run stuff within the container.

Notifications You must be signed in to change notification settings

NickTh3M4l4chi/Ubuntu-Docker-constant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Ubuntu-Docker-constant

Keep an Ubuntu container open indefinitely.

How it works.

The script itself exists with in the dockerfile(Testing-Env)

It runs with a simple sleep command and it is supposted to go on forever, so that you can enter it.

Instalation

Download or copy the file contents into their apropreatly named files.

Build the image

docker-compose -f Testing-Env.yml build

Start the container

docker-compose -f Testing-Env.yml up -d

Oneliner to build the image and start the container.

docker-compose -f Testing-Env.yml build && docker-compose -f Testing-Env.yml up -d

Enter the container to mess arround:

docker exec -it Testing-Env /bin/bash

About

Keep an Ubuntu container open indefinitely and enter it in order to dev or run stuff within the container.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published