Skip to content

ERROR: unable to bind listening socket for address '9000': Address in use. From what I can tell, it's not. #457

Answered by onairmarc
onairmarc asked this question in Q&A
Discussion options

You must be logged in to vote

I got it working!! Thanks @jaydrogers for your help! For reference and for future people who need help, I'll include the Dockerfile and docker-compose.yml file below:

Dockerfile

FROM serversideup/php:8.3-fpm-nginx-alpine
LABEL authors="marcbeinder"

# Ensure we are running as root for package installations
USER root

# Install system dependencies and clear apk cache afterward
RUN apk update && apk add \
    git \
    curl \
    libpng-dev \
    oniguruma-dev \
    libxml2-dev \
    zip \
    unzip && \
    rm -rf /var/cache/apk/*

# Install PHP extensions
RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd

# Create the home directory for the user and set ownership
RUN mkdi…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@onairmarc
Comment options

@jaydrogers
Comment options

@onairmarc
Comment options

@onairmarc
Comment options

Answer selected by onairmarc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants