Coder Social home page Coder Social logo

pause's Introduction

Alpine pause container

This container is an alpine based container which does nothing except stays alive even without being run with -it. It can be used to replace the kubernetes pause container with one that has a shell, e.g. when testing some part of kubernetes in an interactive manner.

Usage

Run this container using docker run karlherler/pause, this will call the pause program (which does nothing but idle). If you want to override the pause application you can postfix the docker run command with any other command as the program is started using the CMD dockerfile parameter.

After the container is started you can investigate it by running docker exec -it containername sh

Usage from kubernetes

Simply replace image: kubernetes/pause with image: karlherler/pause in your pod spec and the new pod will support kubectl exec podname -i -t sh

Building

The simplest way to build this container is to call make using the make utility. This container relies on a small c program and thus building will require a c compiler of some sort, specifically one supporting gcc like flags. It is tested with gcc (version 6.1.1) and clang (version 3.8.0).

Using the docker container does not require any building.

pause's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.