2021-03-12, 07:28 PM
(This post was last modified: 2021-03-13, 03:48 PM by robertocaribbean.)
Hi there,
sampctl works perfectly in my local machine, but when I try to use the power of Docker, I'm facing with an error.
Steps I followed:
Now, the problem is when I try to initialize a package like so:
I get this error (I think is better if I share an image):
Already tried:
EDIT: Well, I'm trying with a ubuntu image, downloaded sampctl and all works fine. But when I try "sampctl package build" throws an error
This happens with others compiler version as well.
SOLUTION: If you've been troubled with the same error, run:
sampctl works perfectly in my local machine, but when I try to use the power of Docker, I'm facing with an error.
Steps I followed:
- Enable virtualization on BIOS and Hyper-v on Windows 10.
- Install Docker Desktop
- Add my administrator account to docker-users group.
- Pull sampctl from docker hub.
Now, the problem is when I try to initialize a package like so:
Code:
docker run southclaws/sampctl package init
I get this error (I think is better if I share an image):
Already tried:
- Clean / Purge data from Docker Desktop.
- Reinstall Docker Desktop.
- Use another sampctl version, but throws that I need the last recent version.
EDIT: Well, I'm trying with a ubuntu image, downloaded sampctl and all works fine. But when I try "sampctl package build" throws an error
Code:
failed to compile package entry: exit status 255
SOLUTION: If you've been troubled with the same error, run:
Code:
apt-get install gcc gcc-multilib make cmake