vaerh / docker-routeros

Mozilla Public License 2.0
23 stars 7 forks source link

Error #13

Closed SAM-Alert closed 1 year ago

SAM-Alert commented 1 year ago

I am having error below. Did you really update your final code?

Connecting to download.mikrotik.com (159.148.172.226:443) wget: server returned error: HTTP/1.1 404 Not Found

vaerh commented 1 year ago

Hi! Can you describe your problem more fully? This image was used a few minutes ago for automated testing of the terraform provider.

SAM-Alert commented 1 year ago

Hi! Can you describe your problem more fully? This image was used a few minutes ago for automated testing of the terraform provider.

I ran your image file which you compiled at hub.docker. I like your work. So I decided to compiled your code and error above occurred. I managed to correct the path. but after creating docker image it doesn't behave like your compiled code. Can you help me with that? Actually I am looking for container with more than five ethernet interfaces which could run on Routerboard.

vaerh commented 1 year ago

You can just change the entry point when you start this container: ... --entrypoint /routeros/entrypoint_for_docker_8interfaces.sh vaerhme/routeros:latest

vaerh commented 1 year ago

But, answering your first question, when creating a container, the script tries to download a file without a .zip extension, on error - with a .zip extension. This is normal behavior. I have successfully built the container locally on my PC.

SAM-Alert commented 1 year ago

thanks I'll keep you posted on the progress.

vaerh commented 1 year ago

Process with debugging Please try to build the container again!

SAM-Alert commented 1 year ago

version: "3"

services:

routeros-7.7: image: ros:7.7 privileged: true restart: unless-stopped cap_add:

I tried to compose it using above but having error Boot failed: could not read the boot disk

vaerh commented 1 year ago

Working configuration:

version: "3"

services:
  routeros-7.7:
    image: vaerh/routeros:latest
    privileged: true
    restart: unless-stopped
    entrypoint: /routeros/entrypoint_for_docker_8interfaces.sh
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    ports:
      - "8291:8291"
      - "22222:22"
      - "22223:23"
      - "7777:80"
      - "8728:8728"
      - "8729:8729"
      - "28728:8728"
      - "28729:8729"
SAM-Alert commented 1 year ago

many many Thanks. Everything is working