enwaiax / awesome-docker

Awesome docker image(For AMD64 and ARM64)
MIT License
90 stars 46 forks source link

x-ui进入容器后无法使用x-ui命令 #4

Closed FaithAluten closed 1 year ago

FaithAluten commented 1 year ago

docker exec it /bin/bash

FaithAluten commented 1 year ago

bash: x-ui: command not found

enwaiax commented 1 year ago

docker exec -it x-ui bash

FaithAluten commented 1 year ago

docker exec -it x-ui bash

进入容器之后呢

enwaiax commented 1 year ago

ls -ltrh

FaithAluten commented 1 year ago

@.*** ~]# ls -ltrh 总用量 4.0K -rw-------. 1 root root 1.3K 7月 14 21:39 anaconda-ks.cfg

LuckyHunter @.***> 于2022年7月14日周四 22:17写道:

ls -ltrh

— Reply to this email directly, view it on GitHub https://github.com/Chasing66/beautiful_docker/issues/4#issuecomment-1184503883, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRCZQ6JZSAAEIZ2X2WFDSDVUAONXANCNFSM53H3XI6A . You are receiving this because you authored the thread.Message ID: @.***>

enwaiax commented 1 year ago

@. ~]# ls -ltrh 总用量 4.0K -rw-------. 1 root root 1.3K 7月 14 21:39 anaconda-ks.cfg LuckyHunter @.> 于2022年7月14日周四 22:17写道: ls -ltrh — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRCZQ6JZSAAEIZ2X2WFDSDVUAONXANCNFSM53H3XI6A . You are receiving this because you authored the thread.Message ID: @.***>

你进对了吗?

***@***:~# ls -ltrh
total 28M
-rwxr-xr-x 1 root root  28M May  1 20:23 x-ui
drwxr-xr-x 2 root root 4.0K Jul 13 19:44 cert
drwxr-xr-x 1 root root 4.0K Jul 13 19:44 bin
FaithAluten commented 1 year ago

@.* ~]# ls -ltrh 总用量 4.0K -rw-------. 1 root root 1.3K 7月 14 21:39 anaconda-ks.cfg LuckyHunter _@.> 于2022年7月14日周四 22:17写道: ls -ltrh — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRCZQ6JZSAAEIZ2X2WFDSDVUAONXANCNFSM53H3XI6A . You are receiving this because you authored the thread.Message ID: @.**_>

你进对了吗?

***@***:~# ls -ltrh
total 28M
-rwxr-xr-x 1 root root  28M May  1 20:23 x-ui
drwxr-xr-x 2 root root 4.0K Jul 13 19:44 cert
drwxr-xr-x 1 root root 4.0K Jul 13 19:44 bin

root@DiskStation:~# ls -ltrh total 29M -rwxr-xr-x 1 root root 29M May 1 20:17 x-ui drwxrwxrwx 1 1024 users 0 Jul 11 21:53 cert drwxr-xr-x 1 root root 126 Jul 11 22:31 bin

enwaiax commented 1 year ago

@.* ~]# ls -ltrh 总用量 4.0K -rw-------. 1 root root 1.3K 7月 14 21:39 anaconda-ks.cfg LuckyHunter _@.> 于2022年7月14日周四 22:17写道: ls -ltrh — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRCZQ6JZSAAEIZ2X2WFDSDVUAONXANCNFSM53H3XI6A . You are receiving this because you authored the thread.Message ID: @.**_>

你进对了吗?

***@***:~# ls -ltrh
total 28M
-rwxr-xr-x 1 root root  28M May  1 20:23 x-ui
drwxr-xr-x 2 root root 4.0K Jul 13 19:44 cert
drwxr-xr-x 1 root root 4.0K Jul 13 19:44 bin

root@DiskStation:~# ls -ltrh total 29M -rwxr-xr-x 1 root root 29M May 1 20:17 x-ui drwxrwxrwx 1 1024 users 0 Jul 11 21:53 cert drwxr-xr-x 1 root root 126 Jul 11 22:31 bin

所以你还要做什么

FaithAluten commented 1 year ago

用linux装命令行不是会显示一堆脚本命令么,docker没有那个么

enwaiax commented 1 year ago

用linux装命令行不是会显示一堆脚本命令么,docker没有那个么

是的没有,也不需要