Skip to content

ChSotiriou/penenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

PENENV

Kali Linux Docker Environment

Download / Build

# Download from DockerHub
docker pull christoss/penenv:latest

# Build Locally
./build.sh

Usage

I suggest adding the following functions to your zshrc/bashrc file:

function checkContainerRunning() {
    docker container ls -q -f name="$1"
}

function penenv() {
    if [ $(checkContainerRunning "penenv") ]; then
        docker exec -it penenv bash
    else
        docker run --net=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it --rm --name penenv -v "$(pwd)":/root/data penenv bash
    fi
}

This starts up the container if it is not running or executes bash if it is.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published