Giter VIP home page Giter VIP logo

docker-kcachegrind's Introduction

docker-kcachegrind

Docker with kCacheGrind

Supported tags

  • latest

Description

Looking for a way to open you xdebug profiling logs ? Looking for kCacheGrind but do not want to install all KDE dependencies ? This container is for you !

How to run this image

Default configuration

To make it work, you need at least the following arguments:

docker run --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix quetzacoalt/kcachegrind

The env variable and the folder /tmp/.X11-unix are needed to share your X11 process with the container. If you meet the following error when trying to launch it "Error: cannot open display: :0", use the following command: xhost +.

Share your folder

Because your xdebug profiling files are more likely to be stored on the host, you have to mount a volume to make this folder available in the container:

docker run --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /your/xdebug/folder:/any/container/folder quetzacoalt/kcachegrind

Credits

This container is based on the tutorial of Fábio Rehm: http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/

docker-kcachegrind's People

Contributors

quetzacoalt91 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-kcachegrind's Issues

Permission issue

$ docker run -v --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v (pwd):/home/developer quetzacoalt/kcachegrind

image

Not working on silicon macs

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
kcachegrind: cannot connect to X server 

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.