Skip to content
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

[Error] function "slice" not defined -- Which version of docker is supported? #809

Closed
thorntonmc opened this issue Jun 21, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@thorntonmc
Copy link
Contributor

I'm using distrobox 1.5.0 with Docker. Per the documentation here https://distrobox.privatedns.org/compatibility/#supported-container-managers

I believe I'm using a valid version of docker

$ docker version
Client: Docker Engine - Community
 Version:           19.03.5
 API version:       1.40
 Go version:        go1.12.12
 Git commit:        633a0ea838
 Built:             Wed Nov 13 07:29:52 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       afacb8b7f0
  Built:            Wed Mar 11 01:24:19 2020
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          1.2.6
  GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc:
  Version:          1.0.0-rc8
  GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

However I get errors related to formatting options.

$ distrobox enter my-container
Template parsing error: template: :2: function "slice" not defined
Cannot find container my-container
Create it now, out of image registry.fedoraproject.org/fedora-toolbox:38? [Y/n]: ^C

If i take that formatting option out, everything works fine. Just curious if the docs need to be updated and newer versions of docker are required?

@thorntonmc thorntonmc added the bug Something isn't working label Jun 21, 2023
@thorntonmc thorntonmc changed the title [Error] Which version of docker is supported? [Error] function "slice" not defined -- Which version of docker is supported? Jun 21, 2023
@rrahl0
Copy link

rrahl0 commented Jun 21, 2023

which host OS are you running. as 19.03 ran out of support 2 1/2 years ago, I would look into getting a newer docker version.

@thorntonmc
Copy link
Contributor Author

Thank you!

89luca89 added a commit that referenced this issue Jun 25, 2023
…d of State for backward compatibility. Fix #809

Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants