# install awx on offline server

**URL:** <https://forum.ansible.com/t/install-awx-on-offline-server/28635>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 23, 2018, 10:59am UTC](https://forum.ansible.com/t/install-awx-on-offline-server/28635 "2018-09-23T10:59:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uri](https://avatars.discourse-cdn.com/v4/letter/u/439d5e/32.png) [@Uri](https://forum.ansible.com/u/Uri)\
**Post date:** [September 23, 2018, 10:59am UTC](https://forum.ansible.com/t/install-awx-on-offline-server/28635/1 "2018-09-23T10:59:45Z")

</div>

Hi,

I’ve been struggling to install awx on an offline server with no internet.  
I’m trying to install from local registry I’ve created but I keep getting the same error:

TASK [image\_build : Build sdist builder image] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

fatal: [localhost → localhost]: FAILED! =\> {“changed”: false, “msg”: “Error building awx\_sdist\_builder - code: None, message: Get [https://registry-1.docker.io/v2/](https://registry-1.docker.io/v2/): dial tcp: lookup [registry-1.docker.io](http://registry-1.docker.io/) on xxx.xxx.xxx.xxx:53: server misbehaving, logs: [u’Step 1/10 : FROM centos:7\n’]”}

how to make the installer build it from the local registry?  
I’ve commented out the 2 lines in the inventory file and since the local registry not secured, I’ve uncommented only this line:  
docker\_registry=localhost:5000

this is the output of docker images:  
[root@awxtest ~]# docker images

REPOSITORY TAG IMAGE ID CREATED SIZE

localhost:5000/memcached alpine fb0df03da449 8 days ago 8.96 MB

[docker.io/registry](http://docker.io/registry) latest 2e2f252f3c88 11 days ago 33.3 MB

localhost:5000/postgres 9.6 c0b5c11b5690 12 days ago 229 MB

localhost:5000/ansible/awx\_task latest 67398bc01f40 5 weeks ago 1.03 GB

localhost:5000/ansible/awx\_web latest 27936ec5a5de 5 weeks ago 997 MB

localhost:5000/ansible/awx\_rabbitmq 3.7.4 e08fe791079e 5 months ago 85.6 MB

thanks
