mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-01-18 00:34:25 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
e7e20082f1
commit
b10c2c4167
90
.gitignore
vendored
90
.gitignore
vendored
@ -1,5 +1,93 @@
|
|||||||
|
# gitignore created on 10/15/22 at 13:39
|
||||||
# Disable reminder in prompt
|
# Disable reminder in prompt
|
||||||
ignoredirmessage
|
ignoredirmessage
|
||||||
|
|
||||||
|
# OS generated files
|
||||||
|
### Linux ###
|
||||||
|
*~
|
||||||
|
|
||||||
|
# temporary files which can be created if a process still has a handle open of a deleted file
|
||||||
|
.fuse_hidden*
|
||||||
|
|
||||||
|
# KDE directory preferences
|
||||||
|
.directory
|
||||||
|
|
||||||
|
# Linux trash folder which might appear on any partition or disk
|
||||||
|
.Trash-*
|
||||||
|
|
||||||
|
# .nfs files are created when an open file is removed but is still being accessed
|
||||||
|
.nfs*
|
||||||
|
|
||||||
|
### macOS ###
|
||||||
|
# General
|
||||||
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
|
||||||
|
# Files that might appear in the root of a volume
|
||||||
|
.DocumentRevisions-V100
|
||||||
|
.fseventsd
|
||||||
|
.Spotlight-V100
|
||||||
|
.TemporaryItems
|
||||||
|
.Trashes
|
||||||
|
.VolumeIcon.icns
|
||||||
|
.com.apple.timemachine.donotpresent
|
||||||
|
|
||||||
|
# Directories potentially created on remote AFP share
|
||||||
|
.AppleDB
|
||||||
|
.AppleDesktop
|
||||||
|
Network Trash Folder
|
||||||
|
Temporary Items
|
||||||
|
.apdisk
|
||||||
|
|
||||||
|
### macOS Patch ###
|
||||||
|
# iCloud generated files
|
||||||
|
*.icloud
|
||||||
|
|
||||||
|
### Windows ###
|
||||||
|
# Windows thumbnail cache files
|
||||||
|
Thumbs.db
|
||||||
|
Thumbs.db:encryptable
|
||||||
|
ehthumbs.db
|
||||||
|
ehthumbs_vista.db
|
||||||
|
|
||||||
|
# Dump file
|
||||||
|
*.stackdump
|
||||||
|
|
||||||
|
# Folder config file
|
||||||
|
[Dd]esktop.ini
|
||||||
|
|
||||||
|
# Recycle Bin used on file shares
|
||||||
|
$RECYCLE.BIN/
|
||||||
|
|
||||||
|
# Windows Installer files
|
||||||
|
*.cab
|
||||||
|
*.msi
|
||||||
|
*.msix
|
||||||
|
*.msm
|
||||||
|
*.msp
|
||||||
|
|
||||||
|
# Windows shortcuts
|
||||||
|
*.lnk
|
||||||
|
|
||||||
|
# Other
|
||||||
|
**/.installed
|
||||||
|
|
||||||
# ignore commit message
|
# ignore commit message
|
||||||
.gitcommit
|
**/.gitcommit
|
||||||
|
|
||||||
|
#ignore .failed
|
||||||
|
**/.build_failed
|
||||||
|
|
||||||
|
# ignore .bak files
|
||||||
|
**/*.bak
|
||||||
|
|
||||||
|
# ignore .no_push files
|
||||||
|
**/.no_push
|
||||||
|
|
||||||
|
# ignore .no_git files
|
||||||
|
**/.no_git
|
||||||
|
|
||||||
|
15
README.md
15
README.md
@ -1,24 +1,25 @@
|
|||||||
## Docker Install guide
|
## Docker Install guide
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
||||||
yum install -y yum-utils device-mapper-persistent-data lvm2
|
yum install -y yum-utils device-mapper-persistent-data lvm2
|
||||||
yum install -y docker-ce
|
yum install -y docker-ce
|
||||||
systemctl enable docker --now
|
systemctl enable docker --now
|
||||||
|
|
||||||
base=https://git.casjay.in/docker/tools/raw/branch/master/usr/local/bin
|
base="https://git.casjay.in/docker/tools/raw/branch/master/usr/local/bin"
|
||||||
for i in docker-compose docker-machine
|
for i in docker-compose docker-machine
|
||||||
do
|
do
|
||||||
sudo wget "$base/${i}" -O /usr/local/bin/${i} && chmod -f +x /usr/local/bin/$i
|
sudo wget "$base/${i}" -O /usr/local/bin/${i} && chmod -f +x "/usr/local/bin/$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
base=https://git.casjay.in/docker/tools/raw/branch/master/etc/bash_completion.d
|
base="https://git.casjay.in/docker/tools/raw/branch/master/etc/bash_completion.d"
|
||||||
for i in docker-machine-prompt docker-machine-wrapper docker-machine docker-compose
|
for i in docker-machine-prompt docker-machine-wrapper docker-machine docker-compose
|
||||||
do
|
do
|
||||||
sudo wget "$base/${i}" -O /etc/bash_completion.d/$i
|
sudo wget "$base/${i}" -O "/etc/bash_completion.d/$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Optional install portainer
|
# Optional install portainer
|
||||||
mkdir -p /var/lib/docker/storage/portainer && chmod -Rf 777 /var/lib/docker/storage/portainer
|
mkdir -p "/var/lib/docker/storage/portainer" && chmod -Rf 777 "/var/lib/docker/storage/portainer"
|
||||||
docker run -d -p 127.0.0.1:9010:9000 \
|
docker run -d -p 127.0.0.1:9010:9000 \
|
||||||
--restart always \
|
--restart always \
|
||||||
--name portainer \
|
--name portainer \
|
||||||
@ -27,7 +28,7 @@ docker run -d -p 127.0.0.1:9010:9000 \
|
|||||||
portainer/portainer
|
portainer/portainer
|
||||||
|
|
||||||
# Optional install registry
|
# Optional install registry
|
||||||
mkdir -p /var/lib/docker/storage/registry && chmod -Rf 777 /var/lib/docker/storage/registry
|
mkdir -p "/var/lib/docker/storage/registry" && chmod -Rf 777 "/var/lib/docker/storage/registry"
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-p 5000:5000 \
|
-p 5000:5000 \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
@ -40,7 +41,7 @@ docker run -d \
|
|||||||
registry
|
registry
|
||||||
|
|
||||||
# Optional install registry frontend
|
# Optional install registry frontend
|
||||||
mkdir -p /var/lib/docker/storage/registry-web && chmod -Rf 777 /var/lib/docker/storage/registry-web
|
mkdir -p "/var/lib/docker/storage/registry-web" && chmod -Rf 777 "/var/lib/docker/storage/registry-web"
|
||||||
docker run --name registry-web \
|
docker run --name registry-web \
|
||||||
-d --restart=always \
|
-d --restart=always \
|
||||||
-e ENV_DOCKER_REGISTRY_HOST=registry.casjay.in \
|
-e ENV_DOCKER_REGISTRY_HOST=registry.casjay.in \
|
||||||
|
@ -1 +1 @@
|
|||||||
202107312349-git
|
202210181539-git
|
||||||
|
Loading…
x
Reference in New Issue
Block a user