kopia lustrzana https://github.com/linuxserver/docker-documentation
commit
8bc865ce18
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue