cover image about printing docker env variables

Output Environment Variables of a Docker Container

One time, I set up a Docker container with my Cloudflare API token as the environment variable. docker run -e API_KEY=<my_api_key> <some_user/some_container> I forgot the token in the process, and now I want to retrieve the API token. It should be as easy as listing all manually added environment variables. Apparently Docker does not have such function? There is no such command as docker container env ls. Well, turns out we have to do it the old-fashioned way....

June 27, 2021 · 2 min · bhat
cover image about minecraft on raspberry pi

Running Minecraft Bedrock Server on Raspberry Pi (or any other ARM devices)

Update Aug 9 ‘21: mcpelauncher no longer supports launching dedicated servers due to some breaking changes of the Minecraft binary by Microsoft (Mojang). I am still figuring out how to run Minecraft bedrock server on Raspberry Pi (possibly via Anbox), but please, blame Microsoft for this, not the developers of mcpelauncher. In the mean time, you can use QEMU to run the official bedrock dedicated server (very slowly), or use a third-party server software such as PocketMine....

August 1, 2019 · 3 min · bhat