Coder Social home page Coder Social logo

Comments (7)

aledaglis avatar aledaglis commented on July 24, 2024

Hi,

The script is not in any of the containers; it's supposed to launch them. You can get it separately from here: https://github.com/ParsaLab/cloudsuite/blob/master/benchmarks/web-serving/run.sh

from cloudsuite.

MrAta avatar MrAta commented on July 24, 2024

thank for your response.
but the problem is now where should i run this file? in host or in container?
the out put of running file in client container is:
./run.sh: line 1: docker: command not found ./run.sh: line 1: $'\357\273\277docker': command not found ./run.sh: line 2: $'\r': command not found ./run.sh: line 3: docker: command not found ./run.sh: line 4: docker: command not found ./run.sh: line 5: docker: command not found ./run.sh: line 6: docker: command not found ./run.sh: line 7: docker: command not found ./run.sh: line 8: docker: command not found ./run.sh: line 9: docker: command not found ./run.sh: line 10: docker: command not found ./run.sh: line 11: docker: command not found ./run.sh: line 12: docker: command not found

and the output of running file in host is:
./run.sh: 1: ./run.sh: docker: not found : not found: ./run.sh: : No such file or directoryhmark/deploy/run.xml : No such file or directoryhmark/deploy/run.xml : No such file or directoryhmark/deploy/run.xml : No such file or directoryhmark/deploy/run.xml : No such file or directoryhmark/deploy/run.xml : No such file or directoryhmark/deploy/run.xml : No such file or directoryhmark/deploy/run.xml Buildfile: /web20_benchmark/build.xml BUILD FAILED " does not exist in the project "Faban Benchmark". Total time: 0 seconds cat: /faban/output/*/summary.xml: No such file or directory

from cloudsuite.

nooshin-mirzadeh avatar nooshin-mirzadeh commented on July 24, 2024

Hi,

You need to run it on the host.

Regards,
Nooshin

On Fri, Apr 8, 2016 at 1:39 PM, Ata Fatahi Baarzi [email protected]
wrote:

thank for your response.
but the problem is now where should i run this file? in host or in
container?
the out put of running file in client container is:
./run.sh: line 1: docker: command not found
./run.sh: line 1: $'\357\273\277docker': command not found
./run.sh: line 2: $'\r': command not found
./run.sh: line 3: docker: command not found
./run.sh: line 4: docker: command not found
./run.sh: line 5: docker: command not found
./run.sh: line 6: docker: command not found
./run.sh: line 7: docker: command not found
./run.sh: line 8: docker: command not found
./run.sh: line 9: docker: command not found
./run.sh: line 10: docker: command not found
./run.sh: line 11: docker: command not found
./run.sh: line 12: docker: command not found

and the output of running file in host is:
: No such file or directoryhmark/deploy/run.xml
: No such file or directoryhmark/deploy/run.xml
: No such file or directoryhmark/deploy/run.xml
: No such file or directoryhmark/deploy/run.xml
: No such file or directoryhmark/deploy/run.xml
: No such file or directoryhmark/deploy/run.xml
Buildfile: /web20_benchmark/build.xml
BUILD FAILED
" does not exist in the project "Faban Benchmark".
Total time: 0 seconds
cat: /faban/output/*/summary.xml: No such file or directory


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/ParsaLab/cloudsuite/issues/40#issuecomment-207395241

from cloudsuite.

MrAta avatar MrAta commented on July 24, 2024

@aledaglis I've updated the output of running in host. why i get this output?
it says cant find docker! but the desired container exists! here:
6f412d8e2a58 cloudsuite/web-serving:faban_client "/etc/bootstrap.sh -b" 16 minutes ago Up 16 minutes faban_client

from cloudsuite.

nooshin-mirzadeh avatar nooshin-mirzadeh commented on July 24, 2024

Are you sure you can run any other "docker" command in your terminal? Can you please try to run the run.sh with sudo?

from cloudsuite.

MrAta avatar MrAta commented on July 24, 2024

Yeas, we always run docker command and scripts with sudo because docker does not run without sudo. and the mentioned error has been raised with sudo.
other docker command run very well, for example running this command will execute docker container and we go to container terminal:

sudo docker exec -it faban_client bash

from cloudsuite.

shane-zhang avatar shane-zhang commented on July 24, 2024

I think the problem is you forgot to name the faban container.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 8acc160ea176 cloudsuite/web-serving:faban_client "/etc/bootstrap.sh -b" 16 hours ago Exited (137) 15 hours ago faban_client
Could you please paste your docker ps?

from cloudsuite.

Related Issues (20)

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.