Comments (7)
Hello,
It seem like port 8080 is already being used by another application.
Check it with sudo netstat -ntpl | grep 8080
from docker-documentserver.
Thank You for your answer. I did check with sudo netstat -peanut
and that port wasn't used.
I decided to run a new process from 0, i got the same error:
First i opened de 8 port and cheked is no used:
~$ sudo netstat -peanut
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 111 17292 1184/mysqld
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 15204 1155/sshd
tcp 0 228 192.168.254.20:22 192.168.252.103:33742 ESTABLISHED 0 31194 4871/sshd: sistemas
tcp6 0 0 :::80 :::* LISTEN 0 15224 1310/apache2
tcp6 0 0 :::22 :::* LISTEN 0 15206 1155/sshd
tcp6 0 0 :::443 :::* LISTEN 0 15228 1310/apache2
udp 0 0 0.0.0.0:68 0.0.0.0:* 0 13171 1094/dhclient
Then install and run the image:
~$ sudo docker run -i -t -d -p 8:8 onlyoffice/documentserver
Unable to find image 'onlyoffice/documentserver:latest' locally
latest: Pulling from onlyoffice/documentserver
30d541b48fc0: Pull complete
8ecd7f80d390: Pull complete
46ec9927bb81: Pull complete
2e67a4d67b44: Pull complete
7d9dd9155488: Pull complete
5620cbf30007: Pull complete
33c528c7fa34: Pull complete
b69368ba62d0: Pull complete
61c24e4c0f08: Pull complete
Digest: sha256:3f5c86fdc61d9bbb550b2323b67d422c5925b7bb308a35970f00ecd7daf8c7e3
Status: Downloaded newer image for onlyoffice/documentserver:latest
4e010fb90bc36f3d1cfc56da2f304f5f091d3c2169e1246e58e8ad68bf82d451
Then again check the port, now is used by docker-proxy:
~$ sudo netstat -peanut
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 111 17292 1184/mysqld
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 15204 1155/sshd
tcp 0 228 192.168.254.20:22 192.168.252.103:33742 ESTABLISHED 0 31194 4871/sshd: sistemas
tcp6 0 0 :::80 :::* LISTEN 0 15224 1310/apache2
tcp6 0 0 :::22 :::* LISTEN 0 15206 1155/sshd
tcp6 0 0 :::443 :::* LISTEN 0 15228 1310/apache2
tcp6 0 0 :::8 :::* LISTEN 0 32584 5253/docker-proxy
udp 0 0 0.0.0.0:68 0.0.0.0:* 0 13171 1094/dhclient
Then in the next step i got the same issue after i enter the last line :
~$ sudo docker run -i -t -d -p 8:8 \
`> -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \`
`> -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \`
`> -v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice onlyoffice/documentserver`
ed27f08f79e7267405519516e7a3a2331ffd33ea2935cc111088c7ed23a5c97b
docker: Error response from daemon: driver failed programming external connectivity on endpoint inspiring_beaver (03a04a5d48e9930598162cac56033ee5ecff143e35c2594bb5016aeac2cf4016): Bind for 0.0.0.0:8 failed: port is already allocated.
What am i doing wrong?
from docker-documentserver.
Hello,
It seems like you are trying to start the onlyoffice/documentesrver container twice.
First time by
sudo docker run -i -t -d -p 8:8 onlyoffice/documentserver
command
Second time by
sudo docker run -i -t -d -p 8:8 \
-v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \
-v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice onlyoffice/documentserver
from docker-documentserver.
Thank you for your time, your advise did help.
from docker-documentserver.
You have to stop all the services before executing the
docker-compose up -d
that would solve the problem.
from docker-documentserver.
Hi, I'm getting this same error and everything I look up says to do the same thing. Run 'docker-compose up -d' or run 'docker-compose down' then 'docker-compose up'. Anytime I try those commands I get the same error. 'Can't find a suitable configuration file in this directory or any parent. Are you in the right directory?' How do I solve this?
from docker-documentserver.
Can't find a suitable configuration file in this directory or any parent. Are you in the right directory?
Seems that is separate issue, not related to this, please create new issue
from docker-documentserver.
Related Issues (20)
- Cannot GET /Products/Files/ HOT 2
- Comments: Not possible to mention users from different Nextcloud groups HOT 4
- failed to initialize Lua VM
- Y HOT 1
- OnlyOffice Documents cannot be opened if it exceeds 30MB, and can be opened normally if it is less than 30MB HOT 4
- HTTPS Site not starting in Docker Container onlyoffice-documentserver HOT 3
- 【feature request】dockerfile supports image building based on rpm HOT 1
- Failed to modify the document name. HOT 5
- The installation with docker-compose was unsuccessful. The last line always shows: Installing plugins, please wait..., and CPU usage is always 100% HOT 2
- Logs aren't output to stdout after log rotation HOT 4
- Conversion API add watermark HOT 2
- Support nonroot working HOT 1
- Download success,but Can't edit online HOT 2
- Can't add fonts correctly HOT 6
- arm64 start rabbitmq error HOT 3
- Nginx logs hundreds of errors per day HOT 1
- Build --tag Error
- unattended-upgrades is automatically enabled in docker HOT 2
- –no-install-recommends required in dockerfile apt-get install command HOT 1
- WOPI_ENABLED reset to false after restarting container HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-documentserver.