Comments (6)
Please provide some more information:
- The output of
docker-compose version
- The output of
docker version
- The output of
git rev-parse HEAD
- The command you launched to start the project
from netbox-docker.
Hi, I'm encountering the same issue, also on Windows.
- The output of
docker-compose version
-->docker-compose version 1.16.1, build 6d1ac219
- The output of
docker version
-->Docker version 17.09.0-ce, build afdb6d4
- The output of
git rev-parse HEAD
-->e4ddfc925ca439beaed64385cf7bc28bff6a16b9
- The command you launched to start the project:
❯ docker-compose up -d
netboxdocker_postgres_1 is up-to-date
Starting netboxdocker_netbox_1 ...
Starting netboxdocker_netbox_1 ... done
Starting netboxdocker_nginx_1 ...
Starting netboxdocker_nginx_1 ... done
❯ docker-compose port nginx 80
ERROR: No container found for nginx_1
Logs from netboxdocker_nginx_1
:
2017/12/01 04:23:21 [emerg] 1#1: host not found in upstream "netbox" in /etc/netbox-nginx/nginx.conf:28
nginx: [emerg] host not found in upstream "netbox" in /etc/netbox-nginx/nginx.conf:28
2017/12/01 06:30:01 [emerg] 1#1: host not found in upstream "netbox" in /etc/netbox-nginx/nginx.conf:28
nginx: [emerg] host not found in upstream "netbox" in /etc/netbox-nginx/nginx.conf:28
2017/12/01 06:31:37 [emerg] 1#1: host not found in upstream "netbox" in /etc/netbox-nginx/nginx.conf:28
nginx: [emerg] host not found in upstream "netbox" in /etc/netbox-nginx/nginx.conf:28
2017/12/01 06:31:39 [emerg] 1#1: host not found in upstream "netbox" in /etc/netbox-nginx/nginx.conf:28
nginx: [emerg] host not found in upstream "netbox" in /etc/netbox-nginx/nginx.conf:28
Logs from netboxdocker_netbox_1
:
standard_init_linux.go:185: exec user process caused "no such file or directory"
standard_init_linux.go:185: exec user process caused "no such file or directory"
Thanks in advance.
pd
from netbox-docker.
Did you build the image or pull it from Docker Hub? Can you run docker-compose pull
?
It looks like you ran into line encoding issues: https://forums.docker.com/t/standard-init-linux-go-175-exec-user-process-caused-no-such-file/20025/4
from netbox-docker.
I haven't heard back in almost a week, so I'll close this now.
from netbox-docker.
I'm also having this issue, running on Windows (runs fine in Linux.)
I've taken the steps above in this string, and while I suspect you're right, it relates to the line encoding issues, I don't know how to fix it, or which files are causing the problem.
c:\Docker\netbox-docker>docker-compose --version
docker-compose version 1.22.0, build f46880fe
c:\Docker\netbox-docker>docker --version
Docker version 18.06.1-ce, build e68fc7a
c:\Docker\netbox-docker>git rev-parse HEAD
f1ebd4d
c:\Docker\netbox-docker>docker-compose logs -f nginx
Attaching to netbox-docker_nginx_1
nginx_1 | 2018/10/04 19:05:39 [emerg] 1#1: host not found in upstream "netbox" in /etc/netbox-nginx/nginx.conf:29
nginx_1 | nginx: [emerg] host not found in upstream "netbox" in /etc/netbox-nginx/nginx.conf:29
netbox-docker_nginx_1 exited with code 1
c:\Docker\netbox-docker>docker-compose ps
The system cannot find the path specified.
Name Command State Ports
netbox-docker_netbox-worker_1 python3 /opt/netbox/netbox ... Up
netbox-docker_netbox_1 /opt/netbox/docker-entrypo ... Exit 1
netbox-docker_nginx_1 nginx -c /etc/netbox-nginx ... Exit 1
netbox-docker_postgres_1 docker-entrypoint.sh postgres Up 5432/tcp
netbox-docker_redis_1 docker-entrypoint.sh sh -c ... Up 6379/tcp
from netbox-docker.
Update: I opened and saved the Dockefile and docker-compose.yml files in notepod++, and issue is resolved.
from netbox-docker.
Related Issues (20)
- Nginx Unit user UID has changed to 999, breaks git data source sync HOT 2
- Insufficient write permission to the media root
- Netbox 4.0.0 container unhealthy with LOGIN_REQUIRED set to true HOT 1
- After migrating to Netbox-docker version 2.9.0 and Netbox 4.0, dark mode not being kept when refreshing the page HOT 5
- Increase healthcheck start period
- No module named 'extras.plugins' when building custom image HOT 1
- Git datasource sync error in rq-worker: LookupError: App 'core' doesn't have a 'ObjectType' model. HOT 2
- IP Ranges gone after upgrade to 4.0.2 HOT 2
- HTTPS Error when I try to install some plugins.
- Issues with REMOTE_AUTH_BACKEND variable and social_core for SSO HOT 1
- Issue after upgrading to latest version HOT 5
- Support for Podman
- Change default port to avoid conflict with Portainer, other services HOT 3
- Database is not reindexed on upgrade from 4.0.3 to 4.0.5
- Install Package Nginx Signature GPG error for version 4.0.3
- Apt update in container fails because of invalid signature HOT 1
- Ubuntu 23.10 end of support HOT 2
- Can't use LDAP auth with docker-compose.override.yml HOT 1
- Add In ui_editable and ui_visible To Custom_Fields.yml HOT 1
- Scheduled script not scheduled anymore after re-creating the container.
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 netbox-docker.