Skip to content

andreasfertig/cppinsights-webfrontend-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Insights: Web Front-End Docker Container

Build Status Try online

Patreon

This is some what of a docker in docker setup.

You have to have this container which hosts the C++ Insights Web Frontend part and the container which contains the C++ Insights binary. Both installed on your local machine.

Then run make get to download the latest pre-built docker image from DockerHub as well as the required cppinsights-container.

Alternatively you can build the image yourself, as GitHub Actions do. Run make build to get all the resources and build the docker image of this repo. You have to take care of build the image of the C++ Insights docker.

After either of these two steps, you can run make start to start the web part. Give it a few seconds to boot up. After that C++ Insights is reachable under 127.0.0.1:5000.

You can see what is going on with make logs and stop the container with make stop

How does it work?

The setup is based in this blog post. The docker container of this repo gets the docker socket of your local machine as well as the /tmp folder mapped into the running container. With that it can access the image on you local machine (which should contain the cppinsights-container)

About

C++ Insights: Web Front-End Docker Container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published