Skip to content

Instantly share code, notes, and snippets.

#get inside container as root
sudo docker exec -u0 -ti redash_server_1 bash
# get inside redash/handlers/ folder where query_results.py script is
cd redash/handlers/
# make a copy of the query_results.py script with another name
cp query_results.py query_results_original.py
#edit the script using nano
# update and upgrade apt if needed to install nano if missing
sudo apt-get update && sudo apt-get upgrade && apt-get install nano
nano query_results.py