Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sashas777/docker_cli
Command line interface for docker local environment
https://github.com/sashas777/docker_cli
Last synced: about 10 hours ago
JSON representation
Command line interface for docker local environment
- Host: GitHub
- URL: https://github.com/sashas777/docker_cli
- Owner: sashas777
- License: gpl-3.0
- Created: 2022-06-02T01:14:48.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-16T04:19:37.000Z (over 1 year ago)
- Last Synced: 2024-05-02T05:03:20.082Z (7 months ago)
- Language: PHP
- Size: 1.11 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Container Manager CLI
[![Latest Stable Version](https://poser.pugx.org/thesgroup/docker-container-manager/v)](//packagist.org/packages/thesgroup/docker-container-manager) [![Total Downloads](https://poser.pugx.org/thesgroup/docker-container-manager/downloads)](//packagist.org/packages/thesgroup/docker-container-manager) [![Latest Unstable Version](https://poser.pugx.org/thesgroup/docker-container-manager/v/unstable)](//packagist.org/packages/thesgroup/docker-container-manager) [![License](https://poser.pugx.org/thesgroup/docker-container-manager/license)](//packagist.org/packages/thesgroup/docker-container-manager)Command line interface for docker local environment
## Installation
```bash
wget https://raw.githubusercontent.com/sashas777/docker_cli/master/install/installer -O - -q | php --
```
After the installation, you can use the CLI by the command alias: `dcm`## Commands
```
composer
composer:exec Execute a composer command. Alias: dcm c:e
magento
magento:bin Execute bin/magento {option} from the CLI container as the www user. Alias: dcm m:b
magento:c:elastic Set catalog/search/elasticsearch7_server_hostname: elasticsearch.metal.local.sashas.pw
magento:c:set bin/magento config:sensitive:set. Alias: dcm m:c:set [--scope="..."] [--scope-code="..."] path value
magento:c:show bin/magento config:show. Alias: dcm m:c:show
magento:cc bin/magento cache:clear command. Alias: dcm m:cc
magento:reindex bin/magento indexer:reindex command. Alias: dcm m:re
magento:su bin/magento setup:upgrade. Alias: dcm m:su
project
project:chown Reset project file ownership to www user.
project:exec Execute a command inside CLI container. Short version: dcm p:e
project:import Import an existing project in local registry
project:info Project information for each service
project:list List all projects
project:new Create a new docker local instance project
project:php:modules List php modules for the CLI container.
project:remove Remove a project from local registry
project:restart Restart docker containers. Short version: dcm p:r
project:start Start docker containers. Short version: dcm p:sta
project:status Lists status of containers.
project:stop Stop docker containers. Short version: dcm p:sto
project:tunnel Tunnel into a container. Example for CLI container: dcm p:tun -c cli
project:update Update docker containers. Short version: dcm p:u. Restart container after this command.
self
self:build Build a new package of the Docker Container Manager CLI
self:install [self-install] Install or update CLI configuration files
self:update [self-update|selfupdate] Updates Dcm to the latest version
services
services:db:dump Create a database dump file
services:db:import Import database from a dump
services:info Local services information for each service
```## New Release Instructions
- config.json
- compile
- git tag