Sign inSign up

thecatlady/croc

By thecatlady

•Updated over 2 years ago

A lightweight, minimal croc container 🐊

Image
6

8.1K

thecatlady/croc repository overview

⁠croc 🐊

Image Size Last Commit Build Status Become a GitHub Sponsor

A lightweight, minimal croc⁠ Docker container

⁠Usage

Docker images are available from both GitHub Container Registry (GHCR)⁠ and Docker Hub⁠.

If you would prefer to pull from GHCR, simply replace thecatlady/croc with ghcr.io/thecatlady/croc in the directions below.

Add the following fuction definition to ~/.profile (create the file if it doesn't exist):

function croc() {
    docker run -it --rm -w "$(pwd)" \
        -v "$(pwd):$(pwd)" \
        thecatlady/croc "$@"
}

Then, run the following command to refresh your Bash profile settings:

source ~/.profile

You will then be able to issue croc commands as if it were installed natively!

⁠Updating

To update when a new image is published, run the commands below:

docker pull thecatlady/croc
docker image prune

⁠How to Contribute

Show your support by starring this project! 🌟 Pull requests, bug reports, and feature requests are also welcome!

You can also support me by becoming a GitHub sponsor⁠ or making a one-time donation⁠ 💖

Tag summary

Content type

Image

Digest

sha256:1a16760be…

Size

6.3 MB

Last updated

over 2 years ago

docker pull thecatlady/croc