Thanks to visit codestin.com
Credit goes to github.com

Skip to content
View eduardo152030's full-sized avatar

Highlights

  • Pro

Block or report eduardo152030

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Shell script to install Docker CE on... Shell script to install Docker CE on ubuntu and post-install user configuration
    1
    #!/bin/bash
    2
    sudo apt-get install -y \
    3
        apt-transport-https \
    4
        ca-certificates \
    5
        curl \
  2. Cleans the old images and exited con... Cleans the old images and exited containers
    1
    # Clean the exited containers
    2
    docker rm $(sudo docker ps -a | grep Exit | cut -d ' ' -f 1)
    3
    
                  
    4
    # Clean the untagged images (or old images)
    5
    docker rmi $(docker images | tail -n +2 | awk '$1 == "<none>" {print $'3'}')