Docker Community Forums

Share and learn in the Docker community.

Gitlab: starting container process caused \”exec: \\”/assets/wrapper\\”: stat /assets/wrapper: no such file or directory

swarm
build
dockerhub
docker

(Kbeeram) #1

Hello,

We have a dockerized swarm gitlab setup on-premise. I am seeing this error message when starting the Gitlab service.

Command given: docker service ps swarm_gitlab_swarm-git --no-trunc
Output:
ydr29qdta5isp8fwrc6 _ swarm_gitlab_swarm-git.1 gitlab/gitlab-ce:11.3.5-ce.0@sha256:0dd228803589adc4c8f1f5d5af90097ff8dfa383c6be7e25a haplnxcigit01 Shutdown Failed less than a second ago "starting container failed: oci runtime error: container_linux.go:265: starting container process caused “exec: “/assets/wrapper”: stat /assets/wrapper: no such file or directory”

Docker_compose.yaml

version: ‘3.2’

services:
swarm-git:
image: gitlab/gitlab-ce:11.3.5-ce.0

 volumes:
   - /opt/software/gitlab/config:/etc/gitlab
   - /opt/software/gitlab/logs:/var/log/gitlab
   - /opt/software/gitlab/data:/var/opt/gitlab
   - /opt/software/gitlab/logs/reconfigure:/var/log/gitlab/reconfigure
 command: ["/assets/wrapper"]
 ports:
   - target: 443
     published: 443
     protocol: tcp
     mode: host

   - target: 22
     published: 822
     protocol: tcp
     mode: host

 environment:
   GITLAB_OMNIBUS_CONFIG: |
     external_url 'https://mygit.prod.com'
     nginx['ssl_certificate'] = '/etc/gitlab/ssl/mygit.prod.com.crt'
     nginx['ssl_certificate_key'] = '/etc/gitlab/ssl/mygit.prod.com.key'
 deploy:
   placement:
     constraints: [node.hostname == happlnxcigit01]
   replicas: 1
   resources:
     limits:
       memory: 8192M
   restart_policy:
     condition: on-failure
     delay: 60s
     max_attempts: 5
     window: 240s

 networks:
   gitlabnet:

Docker installation details:

Command:
docker info

Containers: 15
Running: 1
Paused: 0
Stopped: 14
Images: 10
Server Version: 17.09.1-ce
Storage Driver: btrfs
Build Version: Btrfs v3.18.2+20150430
Library Version: 101
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: active
NodeID: t71eb0upah223kqsz00ftfmfe
Is Manager: false
Node Address: 192.000.000.000
Manager Addresses:
192.000.000.000:2377
192.000.000.000:2377
192.000.000.000:2377
192.000.000.000:2377
192.000.000.000:2377
192.000.000.000:2377
Runtimes: oci runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: N/A (expected: )
Security Options:
apparmor
Kernel Version: 4.4.162-94.72-default
Operating System: SUSE Linux Enterprise Server 12 SP3
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 15.65GiB
Name: cigit01
ID: B7HP:RSPX:UNL6:QMF2:HD3E:LI74:AO5X:SBJO:TZKA:PUR5:DBFT:36AD
Docker Root Dir: /opt/software/docker
Debug Mode (client): false
Debug Mode (server): false
Http Proxy: http://proxy:9090/
Https Proxy: https://proxy:9090/
No Proxy: localhost,127.0.0.0/8,*.domain.com,192.000.000.00
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
sample.domain.com
127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
WARNING: No kernel memory limit support


I can provide additional details.