2

linux-setup.sh

 1 month ago
source link: https://gist.github.com/dhh/159b129f511f76db3ae8adb463f70d05
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

linux-setup.sh · GitHub

Instantly share code, notes, and snippets.

Last active April 22, 2024 12:59
  • Star 99 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
Clone this repository at <script src="https://gist.github.com/dhh/159b129f511f76db3ae8adb463f70d05.js"></script>
Save dhh/159b129f511f76db3ae8adb463f70d05 to your computer and use it in GitHub Desktop.
linux-setup.sh

echo "alias d='sudo docker'" >> ~/.bashrc

Instead of doing this, you could add your user to docker group in linux and run it without sudo, ie

sudo usermod -aG docker $USER

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK