-
-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
¿How attach to server console? #8
Comments
With that said, the bedrock server doesn't natively support rcon, which is what gets leveraged in my Java edition image. I'm thinking of enhancing the process wrapper with rcon or rcon-like console support, so that commands can be sent more easily. |
...as a quick experiment, I started a container with
and was able to attach and send the "help" command using:
I then used Is that sufficient for your deployment? |
Of course @itzg ! Thanks and regards |
I was trying to do the same thing. i.e. attach to server console to monitor stuff and issue commands. Would be interested in any progress here. thanks. good work, thanks for this. |
To get into the shell of a running container you should execute
this opens a bash terminal that you can use to navigate, in the present working directory of the container. YOU NEED the -it flags, the i stands for interactive (I forget what t stands for, but Iif you're using docker but not k8s then replace |
Can you share how you attached to this with docker-compose? I started the server with docker-compose but when I attached, it's not taking any of my input commands. |
@Oliver84 in your compose file you'll need these two items: With that and restarting the container you'll then be able to use |
Hey @itzg, sorry to comment on an old issue, but can I clarify that it's suggested here that I should be able to just use |
In that case the docker attach didn't actually work or you're not doing something right. Make sure you're not doing an |
Yep, I assumed that using the VS Code Docker extension and clicking "attach" on it would run attach, which I guess it does not. Cheers! |
Hi
Is it possible to enter commands to the minecraft server by attaching to the container? How do we do it? If I attach to the container I don't see that I can enter commands.
I speak of commands for the minecraft server executable, not of commands to the container.
a greeting
The text was updated successfully, but these errors were encountered: