Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Nginx boots up and starts accepting connections when running a non default command.  #373

Copy link
Copy link
Closed
@joshmanders

Description

@joshmanders
Issue body actions

Affected Docker Images

{
  "org.opencontainers.image.authors": "Jay Rogers (@jaydrogers)",
  "org.opencontainers.image.description": "Supercharge your PHP experience. Based off the official PHP images, serversideup/php includes pre-configured PHP extensions and settings for enhanced performance and security. Optimized for Laravel and WordPress.",
  "org.opencontainers.image.documentation": "https://serversideup.net/open-source/docker-php/docs/",
  "org.opencontainers.image.licenses": "GPL-3.0-or-later",
  "org.opencontainers.image.source": "https://github.com/serversideup/docker-php",
  "org.opencontainers.image.title": "serversideup/php ()",
  "org.opencontainers.image.url": "https://serversideup.net/open-source/docker-php/",
  "org.opencontainers.image.vendor": "ServerSideUp",
  "org.opencontainers.image.version": "v3.0.2"
}

Current Behavior

Following this guide on running Laravel Task Scheduler it says to just call use this command command: ["php", "/var/www/html/artisan", "schedule:work"] and it should work. I ran a test command into Docker as just php artisan to get alternative output, and this was the result.

image

Expected Behavior

When not running the default command, the only output that should be is the command output not output that nginx is booted up and accepting (and receiving ping/status requests internally).

Steps To Reproduce

  1. Use serversideup/php:8.3.6-fpm-nginx-alpine as a base
  2. Run docker run ... and pass a command off to override the built in one per instructions in docs
  3. See nginx output

Anything else?

No response

Metadata

Metadata

Assignees

Labels

🧐 Bug: Needs ConfirmationSomething isn't working, but needs to be confirmed by a team member.Something isn't working, but needs to be confirmed by a team member.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.