readded lazydocker
This commit is contained in:
3
debian/debian-install-docker.sh
vendored
3
debian/debian-install-docker.sh
vendored
@@ -16,6 +16,8 @@ if [[ ! -f /etc/apt/keyrings/docker.gpg ]]
|
||||
systemctl enable containerd.service
|
||||
systemctl start docker.service
|
||||
systemctl start containerd.service
|
||||
curl -s https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
|
||||
mv /root/.local/bin/lazydocker /usr/local/bin
|
||||
echo "alias dc='docker compose'" >> /etc/bash.bashrc
|
||||
echo "alias dcup='docker compose up -d'" >> /etc/bash.bashrc
|
||||
echo "alias dcdown='docker compose down'" >> /etc/bash.bashrc
|
||||
@@ -27,6 +29,7 @@ if [[ ! -f /etc/apt/keyrings/docker.gpg ]]
|
||||
echo "alias dlf='docker logs -f'" >> /etc/bash.bashrc
|
||||
echo "alias dipaf='docker image prune -a -f'" >> /etc/bash.bashrc
|
||||
echo "alias deit='docker exec -it'" >> /etc/bash.bashrc
|
||||
echo "alias lzd='lazydocker'" >> /etc/bash.bashrc
|
||||
echo "Docker installed successfully."
|
||||
else
|
||||
echo "Docker is already configured."
|
||||
|
||||
Reference in New Issue
Block a user