Pylon is a web-based integrated development environment (IDE) built with Node.js. Pylon is an open-source project released under the GPLv3 license.
This tutorial explains how to install Pylon inside a Docker container in the Linux. Commands have been tested on Ubuntu.
Prepare environment
Make sure you have installed Docker in your system. If you are using Ubuntu, installation instructions can be found in the post.
Install Pylon
- Host network
Run the following command to create a container for Pylon that uses host network:
docker run -d --name=pylon --restart=always --network=host \
-e PYUSER=admin \
-e PYPASS=pwd123 \
-v /opt/pylon/code:/code \
linuxserver/pylon
- User-defined bridge network
User-defined bridge network can be used for listening on different port. By default, Pylon service is listening on port 3131. It can be changed with -p
option.
docker network create app-net
docker run -d --name=pylon --restart=always --network=app-net \
-p 8080:3131 \
-e PYUSER=admin \
-e PYPASS=pwd123 \
-v /opt/pylon/code:/code \
linuxserver/pylon
Note: don't forget to change admin password.
Testing Pylon
Open a web browser and go to http://<IP_ADDRESS>:3131
, where <IP_ADDRESS>
is the IP address of the system. Log in to the web interface using username and password.
Uninstall Pylon
To completely remove the Pylon, remove its container:
docker rm --force pylon
Remove Pylon image:
docker rmi linuxserver/pylon
You can also remove Pylon workspace:
sudo rm -rf /opt/pylon
If a user-defined bridge network was created, you can delete it as follows:
docker network rm app-net
Leave a Comment
Cancel reply