Merge pull request #206 from linuxserver/fix-typo

Fix a typo in the OS command
This commit is contained in:
quietsy 2024-04-15 16:29:06 +03:00 committed by GitHub
commit 136f19f38d

View File

@ -3,7 +3,7 @@
1. Join our [discord server](https://discord.gg/YWrKVTn), read our [support policy](../misc/support-policy.md), and read the description of each channel before asking for support.
2. SSH to your server and run the following command to create an alias that gathers the information we require:
```bash
alias lsiosupport='function _lsiosupport(){ uname -a > lsiosupport.txt; docker -v >> lsiosupport.txt; cat /etdc/os-release >> lsiosupport.txt; docker inspect --format "$(wget -qO- https://docs.linuxserver.io/assets/run.tpl)" $1 >> lsiosupport.txt; docker logs $1 >> lsiosupport.txt; }; _lsiosupport'
alias lsiosupport='function _lsiosupport(){ uname -a > lsiosupport.txt; docker -v >> lsiosupport.txt; cat /etc/os-release >> lsiosupport.txt; docker inspect --format "$(wget -qO- https://docs.linuxserver.io/assets/run.tpl)" $1 >> lsiosupport.txt; docker logs $1 >> lsiosupport.txt; }; _lsiosupport'
```
The alias gathers the following information: OS details, docker version, run command, and container logs.
3. Execute the alias with a container name: