This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -e "\033[31;6m \033[0m" | |
echo -e "\033[31;6m \033[0m" | |
echo -e "\033[31;6m \033[0m" | |
echo -e "\033[31;6m ## \033[0m" | |
echo -e "\033[31;6m ### \033[0m" | |
echo -e "\033[31;6m ###** #########*####**** \033[0m" | |
echo -e "\033[31;6m ## ############********* #* \033[0m" | |
echo -e "\033[31;6m *######***** |
- Save the
docker-compose.yml
andconfig.yml
in the same directory on one of your volumes on the NAS. - SSH in and use
docker-compose up -d
- Test the mirror with
curl --head http://NAS-IP:55000
- Start up docker daemons with the following option or put this in the daemon config file or copy into Docker for Mac/Windows settings.
--registry-mirror=http://NAS-IP:55000
- Pull an image and then check that it is cached in your mirror with
curl http://NAS-IP:55000/v2/_catalog
- or check that a large image isn't slow after the first pull :)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Highligh Nginx config file in Vim | |
# Download syntax highlight | |
mkdir -p ~/.vim/syntax/ | |
wget http://www.vim.org/scripts/download_script.php?src_id=19394 -O ~/.vim/syntax/nginx.vim | |
# Set location of Nginx config file | |
cat > ~/.vim/filetype.vim <<EOF |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
- Ensure any install or build dependencies are removed before the end of the layer when doing a