Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

  • Programming tips
  • General tips
  • About
  • EN
    • FR
    • EN
MacBook Pro affichant un éditeur de code

Photo de Emile Perron sur Unsplash

Docker: How to use nano

April 29, 2026August 10, 2016 by Jean-Pierre Lambelet

To use nano in Docker, you have to update apt-get and install nano. When trying to open a file you may face the error

Error opening terminal: unknown.

No worries, just export the TERM=xterm variable

apt-get update
apt-get install nano
export TERM-xterm
 
Categories Docker
Bash – How to know where the script is
Docker: How to use XDebug with docker-compose

À propos

Jean-Pierre Lambelet est un développeur web suisse. Ce blog rassemble ses astuces et tutoriels sur PHP, Symfony, Drupal, Docker et l'outillage de développement front-end.

Recent Posts

  • Stopping a RAG chatbot from presenting stale information as current
  • Giving a chatbot live weather through LLM tool calling
  • RAG explained to my mum
  • A Chrome extension to find unanswered WhatsApp chats
  • LLM – System prompt – Prevent contact hallucination with a registry
  • FR
  • EN

Recent Posts

  • Stopping a RAG chatbot from presenting stale information as current
  • Giving a chatbot live weather through LLM tool calling
  • RAG explained to my mum
© 2026 Jean-Pierre Lambelet • RSS feed • Privacy Policy