Giter Site home page Giter Site logo

Comments (7)

brentgriffin avatar brentgriffin commented on May 24, 2024

I have seen it hang for over 40 minutes here or as little as 4 minutes but almost always hangs

from docker.

wezell avatar wezell commented on May 24, 2024

I just ran the docker image twice

docker pull dotcms/dotcms:latest
docker run  -itp 8080:8080 dotcms/dotcms:latest

both times it came up fast and worked.

Next I built against our Dockerfile in docker/master

docker build --pull --no-cache --build-arg BUILD_FROM=COMMIT --build-arg BUILD_ID=5.1.6 -t test .

and it worked again

from docker.

SantoshTirukkovilour avatar SantoshTirukkovilour commented on May 24, 2024

I ran docker image using below command several times

docker run -itp 8080:8080 dotcms/dotcms:5.1.6-osalpha

always it start up fast and working fine, didn't find any issues.

Also I built dotcms image in docker/openshiftchanges

docker build --pull --no-cache --build-arg BUILD_FROM=RELEASE --build-arg BUILD_ID=5.1.6 -t dotcms-test .

It's also worked without any issues.

See full log file here:
https://gist.github.com/SantoshTirukkovilour/e44ad102825455ab3924e1f36a81efba

from docker.

brentgriffin avatar brentgriffin commented on May 24, 2024

Will - you are using a different branch - we have been making changes to the images so that they will work properly in openshift. You are using a different branch and a different image tag.

from docker.

brentgriffin avatar brentgriffin commented on May 24, 2024

@SantoshTirukkovilour - please verify your dotcms docker image id - if you are running the one from dockerhub you should have an image id of b6c580381b7b

~$ docker image ls
REPOSITORY                         TAG                 IMAGE ID            CREATED             SIZE
dotcms/dotcms                      5.1.6-osalpha       b6c580381b7b        16 hours ago        1.08GB

I am concerned that you may be running the image built locally by openshift and not the image in dockerhub.

from docker.

SantoshTirukkovilour avatar SantoshTirukkovilour commented on May 24, 2024

@brentgriffin - Just verified I am also using same image id, please find below details.

REPOSITORY                          TAG                 IMAGE ID            CREATED             SIZE
dotcms/dotcms           5.1.6-osalpha       b6c580381b7b        16 hours ago        1.08GB

from docker.

brentgriffin avatar brentgriffin commented on May 24, 2024

Not a docker specific issue. It was an environment issue. Both servers were AWS Ubuntu servers. The issue was a lack of entropy - couple different ways to address but chose this solution: https://www.howtoforge.com/helping-the-random-number-generator-to-gain-enough-entropy-with-rng-tools-debian-lenny

Issue resolved both for running dotCMS containerized and non-containerized.

from docker.

Related Issues (15)

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.