This is an alpine-based version of HT-Editor for Docker.
docker pull razaborg/hte
git clone https://github.com/razaborg/hte-docker.git
cd hte-docker
docker build . -t hte
Let's suppose that you've got an ELF file to edit in your host's /tmp :
docker run -it -v /tmp:/tmp hte /tmp/myawesome.bin