Creating lxc container fails on OpenWrt

Appreciate any help..
I am getting the following error , when creating an lxc alpine container on OpenWrt

[Linux OpenWrt 4.19.101 #0 SMP Thu Feb 13 20:35:13 2020 aarch64 GNU/Linux ]


Distribution:
alpine
Release:
3.11
Architecture:
arm64

Using image from local cache
Unpacking the rootfs
tar: unrecognized option: numeric-owner
BusyBox v1.31.1 () multi-call binary.

Usage: tar c|x|t [-zhvokO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [FILE]...

Create, extract, or list files from a tar file

        c       Create
        x       Extract
        t       List
        -f FILE Name of TARFILE ('-' for stdin/out)
        -C DIR  Change to DIR before operation
        -v      Verbose
        -O      Extract to stdout
        -o      Don't restore user:group
        -k      Don't replace existing files
        -z      (De)compress using gzip
        -h      Follow symlinks
        -T FILE File with names to include
        -X FILE File with glob patterns to exclude
lxc-create: myalpine: lxccontainer.c: create_run_template: 1473 container creation template for myalpine failed
lxc-create: myalpine: tools/lxc_create.c: main: 329 Error creating container myalpine
root@OpenWrt:~#

opkg update && opkg install tar

Thank you, this fixed my issue.
Regards

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.