{"id":17363136,"url":"https://github.com/walchko/ultron","last_synced_at":"2026-02-05T07:01:15.332Z","repository":{"id":147708915,"uuid":"245834679","full_name":"walchko/ultron","owner":"walchko","description":"Docker files and docker-compose yamls","archived":false,"fork":false,"pushed_at":"2024-12-30T21:43:21.000Z","size":26056,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T09:11:24.348Z","etag":null,"topics":["docker-compose","dockerfile","octoprint","pihole","yaml"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/u/walchko","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/walchko.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-08T15:00:59.000Z","updated_at":"2024-12-30T21:43:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"44e4bc09-1026-4523-b309-6275aa1ab3c3","html_url":"https://github.com/walchko/ultron","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/walchko/ultron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walchko%2Fultron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walchko%2Fultron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walchko%2Fultron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walchko%2Fultron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walchko","download_url":"https://codeload.github.com/walchko/ultron/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walchko%2Fultron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29114950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-compose","dockerfile","octoprint","pihole","yaml"],"created_at":"2024-10-15T19:47:58.610Z","updated_at":"2026-02-05T07:01:15.308Z","avatar_url":"https://github.com/walchko.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://static0.srcdn.com/wordpress/wp-content/uploads/Ultron-Marvel-Comics-Annihilation-Conquest-5.jpg?q=50\u0026fit=crop\u0026w=740\u0026h=389)\n\n![GitHub](https://img.shields.io/github/license/walchko/ultron)\n\nVarious docker containers I use.\n\n1. `cd` into folder\n1. `docker-compose build --compress --force-rm --no-cache --pull --parallel`\n    1. `--compress` - Compress the build context using gzip\n    2. `--force-rm` - Always remove intermediate containers\n    3. `--no-cache` - Do not use cache when building the image\n    4. `--pull` - Always attempt to pull a newer version of the image\n    5. `--parallel` - Build images in parallel\n1. To run container:\n    1. Attached in foreground: `docker-compose up`\n    1. Detached in backgroud: `docker-compose up -d`\n1. `docker-compose down` to stop and clean-up\n\n## Publish to DockerHub\n\n1. `docker login`\n1. `docker-compose push`\n1. `docker logout`\n\n## `docker-compose` Help\n\n```bash\ndocker-compose -h\nDefine and run multi-container applications with Docker.\n\nUsage:\n  docker-compose [-f \u003carg\u003e...] [options] [COMMAND] [ARGS...]\n  docker-compose -h|--help\n\nOptions:\n  -f, --file FILE             Specify an alternate compose file\n                              (default: docker-compose.yml)\n  -p, --project-name NAME     Specify an alternate project name\n                              (default: directory name)\n  --verbose                   Show more output\n  --log-level LEVEL           Set log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)\n  --no-ansi                   Do not print ANSI control characters\n  -v, --version               Print version and exit\n  -H, --host HOST             Daemon socket to connect to\n\n  --tls                       Use TLS; implied by --tlsverify\n  --tlscacert CA_PATH         Trust certs signed only by this CA\n  --tlscert CLIENT_CERT_PATH  Path to TLS certificate file\n  --tlskey TLS_KEY_PATH       Path to TLS key file\n  --tlsverify                 Use TLS and verify the remote\n  --skip-hostname-check       Don't check the daemon's hostname against the\n                              name specified in the client certificate\n  --project-directory PATH    Specify an alternate working directory\n                              (default: the path of the Compose file)\n  --compatibility             If set, Compose will attempt to convert keys\n                              in v3 files to their non-Swarm equivalent\n  --env-file PATH             Specify an alternate environment file\n\nCommands:\n  build              Build or rebuild services\n  config             Validate and view the Compose file\n  create             Create services\n  down               Stop and remove containers, networks, images, and volumes\n  events             Receive real time events from containers\n  exec               Execute a command in a running container\n  help               Get help on a command\n  images             List images\n  kill               Kill containers\n  logs               View output from containers\n  pause              Pause services\n  port               Print the public port for a port binding\n  ps                 List containers\n  pull               Pull service images\n  push               Push service images\n  restart            Restart services\n  rm                 Remove stopped containers\n  run                Run a one-off command\n  scale              Set number of containers for a service\n  start              Start services\n  stop               Stop services\n  top                Display the running processes\n  unpause            Unpause services\n  up                 Create and start containers\n  version            Show the Docker-Compose version information\n\n```\n\nThis manages containers so you don't have to. If spun up and the yaml has an entry\nfor `restart`, then it will be restarted after a shutdown/reboot.\n\n## Cleaning Up\n\nDocker is a pain in the ass to get rid of unneeded things. Try:\n\n```\ndocker rm $(docker ps -a -q)\ndocker system prune -a -f\ndocker images prune -a\ndocker volume prune -f\ndocker container prune -f\n# docker rmi $(docker ps -q)\ndocker rmi $(docker images -a -q) # delete all images\ndocker rm $(docker ps -aq) # delete all containers\n```\n\n## `docker-compose`\n\n```yaml\n---\nversion: '3'\n\nservices:\n  debian:\n    build: .\n    image: walchko/debian:latest\n    container_name: debiancontainer\n    hostname: debianhost\n    ports:\n      - \"2222:22/tcp\"\n```\n\n```\n(py)  kevin@Logan ultron % ./docker-tools.sh\n\n[System]-------------------------\nTYPE            TOTAL     ACTIVE    SIZE      RECLAIMABLE\nImages          5         2         658.6MB   341.4MB (51%)\nContainers      2         1         292.7kB   292.7kB (99%)\nLocal Volumes   0         0         0B        0B\nBuild Cache     42        0         1.485GB   1.485GB\n[Containers]---------------------\nCONTAINER ID  IMAGE              COMMAND                 CREATED        STATUS        PORTS                 NAMES\n63da953f56a9  walchko/debian:0.1 \"/usr/sbin/sshd -D\"     9 seconds ago  Up 9 seconds  0.0.0.0:2222-\u003e22/tcp  debiancontainer\nc69a8159c9d9  walchko/rocky:0.1  \"/usr/sbin/sshd -D -e\"  36 hours ago   Exited (0) 36 hours ago             rocky\n[Images]-------------------------\nREPOSITORY       TAG       IMAGE ID       CREATED        SIZE\nwalchko/debian   0.1       1af297533e07   6 hours ago    229MB\n\u003cnone\u003e           \u003cnone\u003e    5839e60a0081   6 hours ago    229MB\n\u003cnone\u003e           \u003cnone\u003e    20fdf844a080   6 hours ago    229MB\n\u003cnone\u003e           \u003cnone\u003e    764d8562c3ee   30 hours ago   229MB\nwalchko/rocky    0.1       25293b510163   36 hours ago   205MB\n\n```\n\n# License MIT\n\n**Copyright (c) 2019 Kevin J. Walchko**\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalchko%2Fultron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalchko%2Fultron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalchko%2Fultron/lists"}