Giter Site home page Giter Site logo

start.sh: not found about docker HOT 2 CLOSED

novosga avatar novosga commented on August 15, 2024
start.sh: not found

from docker.

Comments (2)

rafaelsoaresbr avatar rafaelsoaresbr commented on August 15, 2024 12
  1. No
  2. Yes, Docker Toolbox

start.sh is there.
-rwxr-xr-x 1 root root 904 Mar 28 03:04 start.sh

# docker run -it --rm novosga:built /usr/local/bin/docker-php-entrypoint start.sh

/usr/local/bin/docker-php-entrypoint: 9: exec: start.sh: not found

# docker run -it --rm novosga:built /usr/local/bin/docker-php-entrypoint /usr/local/bin/start.sh

/usr/local/bin/docker-php-entrypoint: 9: exec: /usr/local/bin/start.sh: not found

Docker on Windows hosts is so weird, start.sh has the same permissions as novosga/novosga. The only diference is the file size 875 vs. 904.

Can someone reproduce this?

EDIT: I've solved this by changing line ending style to LF insted of CRLF.

from docker.

rogeriolino avatar rogeriolino commented on August 15, 2024
  1. Did you make any change in the novosga-2.0/Dockerfile?

  2. Are you using Windows? Windows loses Linux filemode.

Run your container bash:

docker run -it --rm novosga:built /bin/bash

Check if start.sh file exists (and can exec):

ls -lha /usr/local/bin/start.sh

from docker.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.