Dear Kusumakar, I think the best thing to do is creating a specialized image for this purpose. To do this, you should first get the dockerfiles and other related files from our repo<https://github.com/ParsaLab/cloudsuite/tree/master/benchmarks/data-caching>. Then you should modify the client’s entrypoint<https://github.com/ParsaLab/cloudsuite/blob/master/benchmarks/data-caching/client/docker-entrypoint.sh> (or even the dockerfile itself) to reflect the things you want to do in your script, and rebuild the image locally. This enables you to run your profiling tool inside the container, and pass loader directly to this tool.
BTW, as I mentioned in the previous email, there is no user/password combination to get shell access. You can get shell access either by passing the right arguments at launch time (docker run) or by using docker attach (or docker exec) while the container is running. For more information about the aforementioned commands, or the building process you visit Docker’s documentation<https://docs.docker.com>. Regards, Arash On 21 Mar 2016, at 10:35, kusumakar bodha <[email protected]<mailto:[email protected]>> wrote: Dear Arash, Thanks for replying. I'll try to give some clarity regarding my question. What I'm trying to do is, there is a profiling tool called 'toplev' which gives the profiling details about the program when run as 'toplev.py docker run....', but for the data caching bench mark, I need to go inside the container(-it mode) and run few commands like : cd /usr/src/memcached/memcached_client/ ./loader -a ../twitter_dataset/twitter_dataset_unscaled -o ../twitter_dataset/twitter_dataset_30x -s docker_servers.txt -w 4 -S 30 -D 4096 -j -T 1 Due to which I can't use my profiling tool. So I want to create a bash script with these commands inside the container so that I can run the container in detached mode and collect the profiling information. But, the problem is, since I do not have root access I cannot create a bash script inside the container. So, I want to know the default password(sudo password) for the container. Thank yoiu, Kusumakar On Mon, Mar 21, 2016 at 2:52 PM, Arash Pourhabibi Zarandi <[email protected]<mailto:[email protected]>> wrote: Dear Kusumakar, I think I don’t get your question. If you want to run the benchmark outside the container (without using docker), then you have to install it on your own system. For this you can follow the instructions in the dockerfile to install on your own machine. If you want to have access to a container, you can run it with “-it” flag and pass “bash” as the last argument of the docker run command. I hope I answered your question. Regards, Arash Pourhabibi Zarandi School of Computer and Communication Sciences (IC) École polytechnique fédérale de Lausanne (EPFL) INJ 215, Station 14 CH-1015 Lausanne http://arash.pourhabibi.info<http://arash.pourhabibi.info/> On 21 Mar 2016, at 04:28, kusumakar bodha <[email protected]<mailto:[email protected]>> wrote: Hi all, I'm trying collect the profiling information of the cloudsuite data caching on my system. For this, I need to run the benchmark from outside the container, but, Im unable to do this because I can't write the required commands to a bash script inside the container as I don't have root access. Is there a default password set for the containers? Thank you, Kusumakar
