Quantcast
Viewing latest article 18
Browse Latest Browse All 29

Answer by etemtezcan for How do I edit a file after I shell to a Docker container?

If you can only shell into container with bin/sh (in case bin/bash doesn't work)and apt or apt-get doesn't work in the container, check whether apk is installed by entering apk in command prompt inside the container.If yes, you can install nano as follows:apk add nano

then nano will work as usual


Viewing latest article 18
Browse Latest Browse All 29

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>