This file contains hidden or 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
sudo docker rm $(sudo docker ps -a -q) -f |
This file contains hidden or 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
HTTP proxy | |
This example overrides the default docker.service file. | |
If you are behind an HTTP proxy server, for example in corporate settings, you will need to add this configuration in the Docker systemd service file. | |
Create a systemd drop-in directory for the docker service: | |
sudo mkdir /etc/systemd/system/docker.service.d | |
Create a file called /etc/systemd/system/docker.service.d/http-proxy.conf that adds the HTTP_PROXY environment variable: |
This file contains hidden or 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
main: # 'main' is the GitLab 'provider ID' of this LDAP server | |
label: 'Zimbra LDAP' | |
host: 'ldap.zimbra.com' | |
port: 389 | |
uid: 'uid' | |
method: 'plain' # "tls" or "ssl" or "plain" | |
bind_dn: 'uid=zimbra,cn=admins,cn=zimbra' | |
password: 'PASSWORD' | |
active_directory: false | |
allow_username_or_email_login: true |
This file contains hidden or 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 | |
apt-get install mc htop git unzip wget curl -y | |
echo | |
echo "=====================================================" | |
echo " WELCOME" | |
echo "=====================================================" | |
echo | |
echo "Hub" |
NewerOlder