abiosoft / abiosoft/colima

"colima ls -j" does not contain "address" field when running in "--arch x86_64" mode

Abierto
#1,304 2 comentarios 3 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
30.8k
Forks
613
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Description

When running Colima on my M4 Macbook like this (took from [here](https://java.testcontainers.org/supported_docker_environment/#colima) to get it working with Testcontainers):
`colima start --network-address`
This command:
`colima ls -j`
gives me:
`{"name":"default","status":"Running","arch":"aarch64","cpus":2,"memory":2147483648,"disk":107374182400,"address":"192.168.205.3","runtime":"docker"}`

But, if I want to use Colima in `x86_64` mode (to get Oracle images working (which I need with Testcontainers for my integration tests)) and start it like this (first running `colima stop` and `colima delete`, of course):
`colima start --arch x86_64 --network-address`

then executing `colima ls -j` gives me:
`{"name":"default","status":"Running","arch":"x86_64","cpus":2,"memory":2147483648,"disk":107374182400,"runtime":"docker"}`

So, the `address` field is not there anymore.

P.S. `colima version 0.8.1`

### Version

_No response_

### Operating System

- [ ] macOS Intel <= 13 (Ventura)
- [ ] macOS Intel >= 14 (Sonoma)
- [ ] Apple Silicon <= 13 (Ventura)
- [x] Apple Silicon >= 14 (Sonoma)
- [ ] Linux

### Output of `colima status`

When started with `colima start --arch x86_64 --network-address`:
```
colima status
INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] socket: unix:///Users/anatoliibalakiriev/.colima/default/docker.sock
```
When started with `colima start --network-address`:
```
colima status
INFO[0015] colima is running using macOS Virtualization.Framework
INFO[0015] arch: aarch64
INFO[0015] runtime: docker
INFO[0015] mountType: sshfs
INFO[0015] address: 192.168.205.3
INFO[0015] socket: unix:///Users/anatoliibalakiriev/.colima/default/docker.sock
```

### Reproduction Steps

1. Start Colima with this command: `colima start --arch x86_64 --network-address`
2. Run `colima ls -j` and check the output

### Expected behaviour

field `"address":""` must be present, but it's not.

### Additional context

_No response_

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.