wernight / docker-codiad

Web-based cloud IDE and code editor with minimal footprint and requirements.
https://hub.docker.com/r/wernight/codiad/
8 stars 4 forks source link
cloud-ide codiad docker-image

Supported tags and respective Dockerfile links

What is Codiad

Codiad is a web-based IDE framework with a small footprint and minimal requirements.

Screenshot of Codiad

You can add many plugins from the Web UI by opening the right side bar and clicking Marketplace.

Features of this image

How to use this image

docker run --rm -p 8080:80 \
    -e CODIAD_UID=$UID -e CODIAD_GID=$GID \
    -v $PWD/code:/code \
    -v /etc/localtime:/etc/localtime:ro \
    -v /var/run/docker.sock:/var/run/docker.sock:ro \
    wernight/codiad

Then open your browser at http://localhost:8080.

Parameters:

User / Group Identifiers

TL;DR - The CODIAD_UID and CODIAD_UID values set the user / group you'd like your container to 'run as'. This can be a user you've created or even root (not recommended).

Part of what makes our containers work so well is by allowing you to specify your own PUID and PGID. This avoids nasty permissions errors with relation to data volumes (-v flags). When an application is installed on the host OS it is normally added to the common group called users, Docker apps due to the nature of the technology can't be added to this group. So we added this feature to let you easily choose when running your containers.

Setting up your projects

Extending the capabilies

You can easily extend to include tool you may need and have them ready whenever you re-create your container. Just create a Dockerfile like:

FROM wernight/codiad
RUN apt update && apt install -y build-essential python

Now you can just build and use your new image:

$ docker build -t codiad .
$ docker run --rm -p 8080:80 codiad

Versions

Feedbacks

Suggestions are welcome on our GitHub issue tracker.