{"id":13416566,"url":"https://github.com/nandoquintana/docker-missing-tools","last_synced_at":"2025-03-15T00:31:08.582Z","repository":{"id":75610337,"uuid":"111656082","full_name":"nandoquintana/docker-missing-tools","owner":"nandoquintana","description":"Docker missing tools","archived":false,"fork":false,"pushed_at":"2018-05-01T13:10:10.000Z","size":29,"stargazers_count":25,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-07-31T21:57:14.453Z","etag":null,"topics":["bash","devops","docker","ubuntu"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nandoquintana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-11-22T08:22:51.000Z","updated_at":"2024-04-11T23:04:59.000Z","dependencies_parsed_at":"2023-06-16T10:15:52.309Z","dependency_job_id":null,"html_url":"https://github.com/nandoquintana/docker-missing-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandoquintana%2Fdocker-missing-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandoquintana%2Fdocker-missing-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandoquintana%2Fdocker-missing-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandoquintana%2Fdocker-missing-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nandoquintana","download_url":"https://codeload.github.com/nandoquintana/docker-missing-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243667719,"owners_count":20328032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bash","devops","docker","ubuntu"],"created_at":"2024-07-30T21:01:01.024Z","updated_at":"2025-03-15T00:31:08.248Z","avatar_url":"https://github.com/nandoquintana.png","language":"Shell","readme":"# Docker Missing Tools\n\nA set of commands to make docker dev-ops easier.\n\nDocker Missing Tools help to automate dev-ops tasks without including noise to source code.\n\nAvoid creating typical helper scripts like \"build.sh\" and \"deploy.sh\" inside shared code repositories.\n\n\n## ls\n\nList everything (stacks, services, container, images, volumes) at once:\n```\n$ docker_ls\n```\n\n## reset\n\nRemove everything (except volumes) at once:\n```\n$ docker_reset\n```\n\n## init\n\nInitialize a swarm:\n```\n$ docker_init\n```\n\n## build and deploy\n\nCreate an image from your source code (and a Dockerfile) and deploy it (according a docker-stack.yml) with the rest of the stack:\n```\n$ docker_build_and_deploy TARGET IMAGE STACK [docker-stack.yml] [Dockerfile]\n```\nArguments description:\n- TARGET: is the directory with the source code to build.\n- IMAGE: is the name for the new image.\n- STACK: is the name for the new stack.\n- docker-stack.yml: (optional) is the YML file where the new stack is defined.\n- Dockerfile: (optional) is the Docker file where the new image is defined (must exist inside TARGET directory).\n\n\n## build and release\n\nCreate an image from your source code (and a Dockerfile) and upload it to a Docker registry:\n```\ndocker_build_and_release TARGET IMAGE VERSION REPOSITORY [Dockerfile]\n```\nArguments description:\n- TARGET: is the directory with the source code to build.\n- IMAGE: is the name for the new image.\n- VERSION: is the tag for the new image.\n- REPOSITORY: is the Docker repository where image will be uploaded to.\n- Dockerfile: (optional) is the Docker file where the new image is defined (must exist inside TARGET directory).\n\n## deploy\n\nDeploy an stack (docker-stack.yml):\n```\ndocker_deploy STACK [docker-stack.yml]\n```\nArguments description:\n- STACK: is the name for the new stack.\n- docker-stack.yml: (optional) is the YML file where the new stack is defined.\n\n\n## logs\n\nDisplay logs from containers in any status:\n```\ndocker_logs STACK\n```\nArguments description:\n- STACK: filter containers by stack name.\n\n## logs up\n\nDisplay logs from containers in \"running\" status:\n```\ndocker_logs_up STACK\n```\nArguments description:\n- STACK: filter containers by stack name.\n\n## logs down\n\nDisplay logs from containers in \"created\", \"restarting\", \"removing\", \"paused\", \"exited\" or \"dead\" status:\n```\ndocker_logs_down STACK\n```\nArguments description:\n- STACK: filter containers by stack name.\n\n## logs from service\n\nDisplay logs from dockerd service:\n```\ndocker_logs_f\n```\n\n# Install Docker Missing Tools\n\nGet the scripts and move them to local \"bin\" directory:\n```\ngit clone https://github.com/nandoquintana/docker-missing-tools.git ~/docker_missing_tools\ncd ~/docker_missing_tools\n./docker_missing_tools_install.sh\n```\nUpdate your Docker repositories credentials file:\n```\nemacs ~/.docker_missing_tools_repositories\n```\n\nInclude your URLs, USERs and PASSs there in [.netrc file format](https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html). For example:\n```\nmachine docker.io/my-username\n    login my-username\n    password my-password\n\nmachine my-repository.my-domain.com\n    login \"my-username@my-domain.com\"\n    password my-password\n\n```\n\nRemember to install [Python](https://packages.ubuntu.com/python) and [Docker CE](https://docs.docker.com/install/linux/docker-ce/ubuntu/) :-)\n\n# Uninstall Docker Missing Tools\n\n```\ncd ~/docker_missing_tools\n./docker_missing_tools_uninstall.sh\n```\n","funding_links":[],"categories":["Development with Docker"],"sub_categories":["Development Environment"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnandoquintana%2Fdocker-missing-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnandoquintana%2Fdocker-missing-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnandoquintana%2Fdocker-missing-tools/lists"}