https://github.com/thecatlady/docker-croc
A lightweight, minimal croc container 🐊
https://github.com/thecatlady/docker-croc
cli container croc data-transfer docker docker-container docker-image file-sharing file-transfer golang lightweight minimal p2p pake peer-to-peer schollz-croc tcp transfer
Last synced: about 1 month ago
JSON representation
A lightweight, minimal croc container 🐊
- Host: GitHub
- URL: https://github.com/thecatlady/docker-croc
- Owner: TheCatLady
- License: mit
- Created: 2021-02-01T23:28:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-09T20:02:04.000Z (8 months ago)
- Last Synced: 2025-03-27T06:22:55.567Z (about 2 months ago)
- Topics: cli, container, croc, data-transfer, docker, docker-container, docker-image, file-sharing, file-transfer, golang, lightweight, minimal, p2p, pake, peer-to-peer, schollz-croc, tcp, transfer
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/thecatlady/croc
- Size: 85.9 KB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# `croc` 🐊
[](https://hub.docker.com/r/thecatlady/croc)
[](https://github.com/TheCatLady/docker-croc)
[](https://github.com/TheCatLady/docker-croc)
[](https://github.com/sponsors/TheCatLady)A lightweight, minimal [`croc`](https://github.com/schollz/croc) Docker container
## Usage
Docker images are available from both [GitHub Container Registry (GHCR)](https://github.com/users/TheCatLady/packages/container/package/croc) and [Docker Hub](https://hub.docker.com/r/thecatlady/croc).
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):
```bash
function croc() {
docker run -it --rm -w "$(pwd)" \
-v "$(pwd):$(pwd)" \
thecatlady/croc "$@"
}
```Then, run the following command to refresh your Bash profile settings:
```bash
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:
```bash
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](https://github.com/sponsors/TheCatLady) or [making a one-time donation](https://github.com/sponsors/TheCatLady?frequency=one-time) 💖