Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eviweb/docker-registry-initd
Docker Registry Startup Script
https://github.com/eviweb/docker-registry-initd
Last synced: about 1 month ago
JSON representation
Docker Registry Startup Script
- Host: GitHub
- URL: https://github.com/eviweb/docker-registry-initd
- Owner: eviweb
- License: mit
- Created: 2015-05-07T13:45:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-01T12:23:44.000Z (over 9 years ago)
- Last Synced: 2023-03-25T11:44:16.900Z (over 1 year ago)
- Language: Shell
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Docker Registry Startup Script
==============================
Script to start a docker registry at boot time and to stop it during shutdown.> This assumes :
> * the docker compose config file is installed under the home directory of a docker user: `/home/docker/config/docker-compose.yml`
> * the docker compose tool is installedHow to
------
### Install the script
* Clone this repository `git clone https://github.com/eviweb/docker-registry-initd`
* From within the `docker-registry-initd` directory, run the installer with root privileges: `sudo ./install.sh`### Uninstall the script
* From within the `docker-registry-initd` directory, run the installer with root privileges, using the `-u` flag: `sudo ./install.sh -u`Manage the service manually
---------------------------
### Start the registry service
Run: `sudo service docker-registry start`### Stop the registry service
Run: `sudo service docker-registry stop`### Restart the registry service
Run: `sudo service docker-registry restart`### Check the registry service status
Run: `sudo service docker-registry status`Credits
-------
* The start-up script is inspired by [**Felix H. Dahlke's** init-script-template](https://github.com/fhd/init-script-template.git)
* Docker compose can be found at: [https://github.com/docker/compose]()