Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • Pintura Pintura
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ACS
  • Public
  • CIM
  • PinturaPintura
  • Issues
  • #23

Closed
Open
Created Mar 13, 2018 by Ghost User@ghost

Docker run command is not correct in README file

I followed the steps of the README file, however found that Docker Run command was not correct

The suggestion is to use docker run --rm -p 443:443 pintura however the nginx service running in the container is not listening on port 443, it is listening on port 80 only.

I had to install the following packages to find this out

apt-get install procps net-tools

ps -a

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.2  32432  5188 ?        Ss   15:22   0:00 nginx: master p
nginx        7  0.0  0.1  32904  2504 ?        S    15:22   0:00 nginx: worker p
root         8  0.0  0.1  18132  3196 pts/0    Ss   15:24   0:00 bash
root       266  0.0  0.1  36632  2748 pts/0    R+   15:34   0:00 ps -aux

And then

netstat -pln


Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1/nginx: master pro 
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name     Path

When using the following command (for testing)

docker run -d --rm -p 3443:443 -p 3080:80 --name reservepintura pintura

I was able to view Pintura service at http://localhost:3080

Assignee
Assign to
Time tracking