docker run --name eureka-server -it --rm -p 8761:8761 foxundermoon/eureka-server
package mn.fox.eurekaserver;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
@SpringBootApplication
@EnableEurekaServer
public class EurekaServerApplication {
public static void main(String[] args) {
SpringApplication.run(EurekaServerApplication.class, args);
}
}
Content type
Image
Digest
Size
262.5 MB
Last updated
over 6 years ago
docker pull foxundermoon/eureka-server