Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error response from daemon: No such container: java #70

Open
chinababy-zlj opened this issue Aug 7, 2024 · 4 comments
Open

Error response from daemon: No such container: java #70

chinababy-zlj opened this issue Aug 7, 2024 · 4 comments

Comments

@chinababy-zlj
Copy link

[root@89-confluence confluence]# docker exec java -jar /opt/confluence/atlassian-agent.jar \

-d
-p conf
-m [email protected]
-n novax
-o http://192.168.66.89:8090
-s BX4Y-XXXX-XXXX-XXX
Error response from daemon: No such container: java
[root@89-confluence confluence]# docker exec -it confluence /bin/bash
root@0e2be0353f97:/opt/confluence# ja
jar jarsigner java javac javadoc javap

我这里是有java的,为啥提示我没有java?
我下载镜像之后,我是否需要进行dockerfile?

@chinababy-zlj
Copy link
Author

镜像:haxqer/confluence:9.0.1

@chinababy-zlj
Copy link
Author

@haxqer

@haxqer
Copy link
Owner

haxqer commented Aug 7, 2024

docker exec confluence-srv java -jar /var/agent/atlassian-agent.jar \
    -d \
    -p conf \
    -m [email protected] \
    -n [email protected] \
    -o your-org \
    -s you-server-id-xxxx

你输入的少了 容器名: confluence-srv

@haxqer
Copy link
Owner

haxqer commented Aug 7, 2024

根据你提供的信息,你把 容器名改为了 confluence,所以,命令应该是:

docker exec confluence java -jar /var/agent/atlassian-agent.jar \
    -d \
    -p conf \
    -m [email protected] \
    -n [email protected] \
    -o your-org \
    -s you-server-id-xxxx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants