Strange console characters, only in docker #739
Unanswered
mooserator
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Those are Minecraft console color codes, so I would fully expect those to show up via some of the attach/log approaches when a modded server is being accessed. Hopefully somebody else can suggest if/how to disable the color codes being used. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Fairly new docker user here. That said, I have worked in Java for many years and have reasonable ability with it. I am hosting an RLCraft server for my son and his friend. It is working well and they have access both inside and outside of our home. The original build was running natively in Ubuntu, then I recently ported it to run within docker using itzg Minecraft image as the base.
My question is regarding use of the terminal or console screens in docker. I usually access these through either docker attach or within Portainer where I can either attach to the session or view the log. I prefer this over rcon use and am trying to understand why strange characters appear when using docker, but not when running natively on the server. I think they are related to colors or styles, but am not certain.
Can someone help explain this issue and if there is something I can do to change it? While it is probably not a big deal, it is annoying and I would like to understand if I can fix it. Appreciate any help or advice.
The Native console output when running in Ubuntu here is the goal.
![NativeConsoleOutput](https://user-images.githubusercontent.com/78229331/106321130-7e816800-6239-11eb-908b-f8ffb9c0df5c.JPG)
These others show the strange characters when docker is used, either from docker attach or within portainer.
![DockerAttachConsoleOutput](https://user-images.githubusercontent.com/78229331/106321129-7de8d180-6239-11eb-9644-a16f96e4011f.JPG)
![PortainerAttachConsoleOutput](https://user-images.githubusercontent.com/78229331/106321131-7e816800-6239-11eb-9ae6-80d09cc7b997.JPG)
![PortainerLogConsoleOutput](https://user-images.githubusercontent.com/78229331/106321132-7e816800-6239-11eb-888d-e6f32865b462.JPG)
Docker attach:
Portainer attach:
Portainer Log:
Beta Was this translation helpful? Give feedback.
All reactions