Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months 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 (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T19:18:27.000Z (8 months ago)
- Last Synced: 2024-05-01T18:40:33.035Z (8 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: 82 KB
- Stars: 14
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# `croc` 🐊
[![Image Size](https://img.shields.io/docker/image-size/thecatlady/croc/latest?style=flat-square&logoColor=white&logo=docker)](https://hub.docker.com/r/thecatlady/croc)
[![Last Commit](https://img.shields.io/github/last-commit/TheCatLady/docker-croc?style=flat-square&logoColor=white&logo=github)](https://github.com/TheCatLady/docker-croc)
[![Build Status](https://img.shields.io/github/workflow/status/TheCatLady/docker-croc/Build%20Docker%20Images?style=flat-square&logoColor=white&logo=github%20actions)](https://github.com/TheCatLady/docker-croc)
[![Become a GitHub Sponsor](https://img.shields.io/badge/github%20sponsors-help%20feed%20my%20cats!-ff69b4?style=flat-square&logo=github%20sponsors)](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) 💖