Docker won’t expose port from container

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

So, I tried to create a Minecraft server using docker, not really the most optimised thing, but the reason for it is that I want to more easily close and open the server (I would only pause and start the container via portainer). But for some reason, I can’t the the port to be published (it doesn’t show on the portioner containers published ports) everything else is running just fine, also, if anyone suggests any other lighter linux distro, feel free to comment! oh, and this is my portainer info. here is my docker-compose: “` version: “2.1” ​ services: minecraft-server: build: ./server volumes: ./server/data:/mine-server/data ports: 44444:44444 restart: unless-stopped “` and here is the dockerfile: “` FROM ubuntu RUN apt-get update RUN apt-get install -y default-jdk RUN mkdir -p /server COPY ./data /server WORKDIR /server EXPOSE 44444 RUN java -Xms512M -Xmx1G -jar server.jar nogui “` submitted by /u/LombardiD [link] [comments]

X ITM Cloud News

Patricia

Leave a Reply

Next Post

Tool to parse k8s images and verify their integrity

Wed Jun 3 , 2020
Spread the love          Hi everyone, I’ve created a very basic version of the tool to parse k8s image output and verify integrity of those images – https://k8simages.relizahub.com/ . Basically, it checks whether image digests are really present in the repository where they were pulled from and later I’m planning to add […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM